Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-90085: Remove vestigial -t and -c timeit options
See bpo-28240. The functionality was removed in 3d7feb9.
The options had been deprecated since Python 3.3
  • Loading branch information
hauntsaninja committed Jul 17, 2022
commit c2670f02c0edaa61189bc45d660c13c5369364e4
5 changes: 2 additions & 3 deletions Lib/timeit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down