From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:16:02 +0000 (+0200) Subject: [3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523) X-Git-Tag: v3.13.0rc3~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6607c7299165a12bf34d20e662107eeb12f95221;p=thirdparty%2FPython%2Fcpython.git [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 f8651a2988274be091ecd6efc2916f38d9fb9577) Co-authored-by: Robert Wolff Co-authored-by: Sergey B Kirpichev --- diff --git a/Doc/library/random.rst b/Doc/library/random.rst index c7f6b0bdd5b8..ef0cfb0e76ce 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -741,7 +741,7 @@ The following options are accepted: .. option:: -f --float - 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: