diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2022-10-07 15:38:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 15:38:20 -0700 |
commit | cb4615fd43e678fe44e9aeb6a486475a05b492e7 (patch) | |
tree | bb4fdc0baf38c91a2b6b679f5d7c458af34efce8 /Lib/timeit.py | |
parent | f4f813338736aecc9285a9408cb8a07eaeb0e373 (diff) | |
download | cpython-cb4615fd43e678fe44e9aeb6a486475a05b492e7.tar.gz cpython-cb4615fd43e678fe44e9aeb6a486475a05b492e7.zip |
gh-90085: Remove vestigial -t and -c timeit options (#94941)
See bpo-28240. The functionality was removed in 3d7feb9ac2.
The options had been deprecated since Python 3.3
Diffstat (limited to 'Lib/timeit.py')
-rwxr-xr-x | Lib/timeit.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/timeit.py b/Lib/timeit.py index 9dfd454936e..0cf8db67723 100755 --- a/Lib/timeit.py +++ b/Lib/timeit.py @@ -259,10 +259,9 @@ def main(args=None, *, _wrap_timer=None): args = sys.argv[1:] import getopt try: - opts, args = getopt.getopt(args, "n:u:s:r:tcpvh", + opts, args = getopt.getopt(args, "n:u:s:r:pvh", ["number=", "setup=", "repeat=", - "time", "clock", "process", - "verbose", "unit=", "help"]) + "process", "verbose", "unit=", "help"]) except getopt.error as err: print(err) print("use -h/--help for command line help") |