summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-15 07:09:33 (GMT)
committerGitHub <noreply@github.com>2020-10-15 07:09:33 (GMT)
commit78723b378b2529dd79f6754a514681e4920aef3e (patch)
treef3cfa1d2d4aeb201d64ddd5f15287c2daa0ff07e
parentd197b2bb3e401bed53987b65a7ceb6c712c4f5bd (diff)
downloadcpython-78723b378b2529dd79f6754a514681e4920aef3e.zip
cpython-78723b378b2529dd79f6754a514681e4920aef3e.tar.gz
cpython-78723b378b2529dd79f6754a514681e4920aef3e.tar.bz2
Minor clarification (GH-22708) (GH-22709)
-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 d37fd9c..f9535d7 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