]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minor clarification (GH-22708)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 15 Oct 2020 06:41:55 +0000 (23:41 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Oct 2020 06:41:55 +0000 (23:41 -0700)
Doc/library/random.rst

index 635f9e1c032da3760d36993ac9368d1becd76640..5a9359484d11a888e1d6c62ec5b3b6daac3166e3 100644 (file)
@@ -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