summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-10-15 06:41:55 (GMT)
committerGitHub <noreply@github.com>2020-10-15 06:41:55 (GMT)
commitb67cbbda3a022cec5e2ad929f0531162166e7c8d (patch)
tree3c248d945cbf5e76208063572c32a19dc79a7744 /Doc/library/random.rst
parent2d2af320d94afc6561e8f8adf174c9d3fd9065bc (diff)
downloadcpython-b67cbbda3a022cec5e2ad929f0531162166e7c8d.zip
cpython-b67cbbda3a022cec5e2ad929f0531162166e7c8d.tar.gz
cpython-b67cbbda3a022cec5e2ad929f0531162166e7c8d.tar.bz2
Minor clarification (GH-22708)
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 635f9e1..5a93594 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -545,9 +545,9 @@ Recipes
The default :func:`.random` returns multiples of 2⁻⁵³ in the range
*0.0 ≤ x < 1.0*. All such numbers are evenly spaced and are exactly
-representable as Python floats. However, many floats in that interval
-are not possible selections. For example, ``0.05954861408025609``
-isn't an integer multiple of 2⁻⁵³.
+representable as Python floats. However, many other representable
+floats in that interval are not possible selections. For example,
+``0.05954861408025609`` isn't an integer multiple of 2⁻⁵³.
The following recipe takes a different approach. All floats in the
interval are possible selections. The mantissa comes from a uniform