From 6fed94a8cc773828a969baec19f74312d5a21906 Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Wed, 25 Sep 2024 18:47:45 +0200 Subject: [PATCH] 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 --- Doc/library/random.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/random.rst b/Doc/library/random.rst index c7f6b0bdd5b822..ef0cfb0e76cef6 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: