summaryrefslogtreecommitdiffstats
path: root/Lib/timeit.py
diff options
context:
space:
mode:
authorSemyon Moroz <donbarbos@proton.me>2025-03-30 11:19:38 (GMT)
committerGitHub <noreply@github.com>2025-03-30 11:19:38 (GMT)
commit55150a79cacbce44f50cea128c511782df0ab277 (patch)
tree07c559081ae29c34f462af42ad0c425bbc5d1f75 /Lib/timeit.py
parenteaffc34d3ce38710d633f7246d3e15aaddee63d1 (diff)
downloadcpython-55150a79cacbce44f50cea128c511782df0ab277.zip
cpython-55150a79cacbce44f50cea128c511782df0ab277.tar.gz
cpython-55150a79cacbce44f50cea128c511782df0ab277.tar.bz2
gh-131178: Update help message for `timeit` CLI (#131326)
Diffstat (limited to 'Lib/timeit.py')
-rw-r--r--Lib/timeit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/timeit.py b/Lib/timeit.py
index c106e0f..e767f01 100644
--- a/Lib/timeit.py
+++ b/Lib/timeit.py
@@ -44,7 +44,6 @@ Functions:
timeit(string, string) -> float
repeat(string, string) -> list
default_timer() -> float
-
"""
import gc
@@ -302,7 +301,7 @@ def main(args=None, *, _wrap_timer=None):
precision += 1
verbose += 1
if o in ("-h", "--help"):
- print(__doc__, end=' ')
+ print(__doc__, end="")
return 0
setup = "\n".join(setup) or "pass"