summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index fc32e4a..858888c 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -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)