mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#3918: note that uniform() args can be swapped.
This commit is contained in:
parent
450a7f578e
commit
afeea0711a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue