summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRobert Wolff <mahlzahn@posteo.de>2024-09-25 16:47:45 (GMT)
committerGitHub <noreply@github.com>2024-09-25 16:47:45 (GMT)
commitf8651a2988274be091ecd6efc2916f38d9fb9577 (patch)
treeed4330d4c3c131be4d671937f327eeb00c6a6eac /Doc
parent78aeb38f7d880a340295214abc4f7e77ffdad509 (diff)
downloadcpython-f8651a2988274be091ecd6efc2916f38d9fb9577.zip
cpython-f8651a2988274be091ecd6efc2916f38d9fb9577.tar.gz
cpython-f8651a2988274be091ecd6efc2916f38d9fb9577.tar.bz2
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 <skirpichev@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/random.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index c7f6b0b..ef0cfb0 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -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: