diff options
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 66db882f96..da0e6632f3 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -149,7 +149,8 @@ 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) |