summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-19 09:13:08 (GMT)
committerGitHub <noreply@github.com>2024-07-19 09:13:08 (GMT)
commita45d9051ed8488b169cbcb12b036120c0e853b9c (patch)
tree7d442b10ef935a9985059da5691241f965592447 /Lib/random.py
parent225cbee8d8ced55c2edb16f9cdc73cd05bf0f67b (diff)
downloadcpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.zip
cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.gz
cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.bz2
[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)
(cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py
index bcc11c7..f5a482b 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -1013,7 +1013,7 @@ def _parse_args(arg_list: list[str] | None):
help="print a random integer between 1 and N inclusive")
group.add_argument(
"-f", "--float", type=float, metavar="N",
- help="print a random floating point number between 1 and N inclusive")
+ help="print a random floating-point number between 1 and N inclusive")
group.add_argument(
"--test", type=int, const=10_000, nargs="?",
help=argparse.SUPPRESS)