From: Robert Wolff Date: Wed, 25 Sep 2024 16:47:45 +0000 (+0200) Subject: gh-123968: fix -f/--float command line option description (#124517) X-Git-Tag: v3.14.0a1~351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8651a2988274be091ecd6efc2916f38d9fb9577;p=thirdparty%2FPython%2Fcpython.git 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 --- 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: