mirror of https://github.com/python/cpython
#3918: note that uniform() args can be swapped.
This commit is contained in:
parent
450a7f578e
commit
afeea0711a
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue