#3918: note that uniform() args can be swapped.

This commit is contained in:
Georg Brandl 2008-09-21 08:03:21 +00:00
parent 450a7f578e
commit afeea0711a
1 changed files with 3 additions and 1 deletions

View File

@ -188,7 +188,9 @@ be found in any statistics text.
.. function:: uniform(a, b)
Return a random floating point number *N* such that ``a <= N < b``.
Return a random floating point number *N* such that ``a <= N < b`` for
``a <= b`` and ``b <= N < a`` for ``b < a``.
.. function:: triangular(low, high, mode)