[3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523)

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 f8651a2988)

Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-09-26 02:16:02 +02:00 committed by GitHub
parent 139f47fe5d
commit 6607c72991
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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: