#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

View file

@ -188,7 +188,9 @@ be found in any statistics text.
.. function:: uniform(a, b) .. 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) .. function:: triangular(low, high, mode)