diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-10-18 15:18:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-10-18 15:18:21 (GMT) |
commit | 3d7feb9ac2662cd6854ad34a1705e4035e2b385f (patch) | |
tree | c100ff4d4e7460192cac777cfe23d00fe33ff425 /Doc/library/timeit.rst | |
parent | 1b90115304bb77a0dff16c463e2015a1645ab320 (diff) | |
download | cpython-3d7feb9ac2662cd6854ad34a1705e4035e2b385f.zip cpython-3d7feb9ac2662cd6854ad34a1705e4035e2b385f.tar.gz cpython-3d7feb9ac2662cd6854ad34a1705e4035e2b385f.tar.bz2 |
timeit: remove --clock and --time options
Issue #28240: timeit: remove -c/--clock and -t/--time command line options
which were deprecated since Python 3.3.
Diffstat (limited to 'Doc/library/timeit.rst')
-rw-r--r-- | Doc/library/timeit.rst | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst index 5bae33b..bad7194 100644 --- a/Doc/library/timeit.rst +++ b/Doc/library/timeit.rst @@ -197,7 +197,7 @@ Command-Line Interface When called as a program from the command line, the following form is used:: - python -m timeit [-n N] [-r N] [-u U] [-s S] [-t] [-c] [-h] [statement ...] + python -m timeit [-n N] [-r N] [-u U] [-s S] [-h] [statement ...] Where the following options are understood: @@ -222,20 +222,12 @@ Where the following options are understood: .. versionadded:: 3.3 -.. cmdoption:: -t, --time - - use :func:`time.time` (deprecated) - .. cmdoption:: -u, --unit=U specify a time unit for timer output; can select usec, msec, or sec .. versionadded:: 3.5 -.. cmdoption:: -c, --clock - - use :func:`time.clock` (deprecated) - .. cmdoption:: -v, --verbose print raw timing results; repeat for more digits precision |