]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123968: fix -f/--float command line option description (#124517)
authorRobert Wolff <mahlzahn@posteo.de>
Wed, 25 Sep 2024 16:47:45 +0000 (18:47 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 16:47:45 +0000 (09:47 -0700)
* fix -f/--float command line option description

See gh-123968 gh-124009

* Update Doc/library/random.rst

---------

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/library/random.rst

index c7f6b0bdd5b822cff164b6b8f195a8e7d3fef23c..ef0cfb0e76cef6eb162941805231c678414c1db2 100644 (file)
@@ -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: