[Python-checkins] Minor clarification (GH-22708) (GH-22709)

Miss Skeleton (bot) webhook-mailer at python.org
Thu Oct 15 03:09:41 EDT 2020


https://github.com/python/cpython/commit/78723b378b2529dd79f6754a514681e4920aef3e
commit: 78723b378b2529dd79f6754a514681e4920aef3e
branch: 3.9
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-10-15T00:09:33-07:00
summary:

Minor clarification (GH-22708) (GH-22709)

files:
M Doc/library/random.rst

diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index d37fd9cbd8e17..f9535d7d1b9a2 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



More information about the Python-checkins mailing list