]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Sep 2024 00:16:02 +0000 (02:16 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 00:16:02 +0000 (17:16 -0700)
gh-123968: fix -f/--float command line option description (GH-124517)

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

See gh-123968 gh-124009

* Update Doc/library/random.rst

---------

(cherry picked from commit f8651a2988274be091ecd6efc2916f38d9fb9577)

Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
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: