https://github.com/python/cpython/commit/f8651a2988274be091ecd6efc2916f38d9fb9577
commit: f8651a2988274be091ecd6efc2916f38d9fb9577
branch: main
author: Robert Wolff <[email protected]>
committer: nanjekyejoannah <[email protected]>
date: 2024-09-25T09:47:45-07:00
summary:

gh-123968: fix -f/--float command line option description (#124517)

* fix -f/--float command line option description

See gh-123968 gh-124009

* Update Doc/library/random.rst

---------

Co-authored-by: Sergey B Kirpichev <[email protected]>

files:
M Doc/library/random.rst

diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index c7f6b0bdd5b822..ef0cfb0e76cef6 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -741,7 +741,7 @@ The following options are accepted:
 .. option:: -f <N>
             --float <N>
 
-   Print a random floating-point number between 1 and N inclusive,
+   Print a random floating-point number between 0 and N inclusive,
    using :meth:`uniform`.
 
 If no options are given, the output depends on the input:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to