Skip to content

Commit 8cfea8e

Browse files
committed
Address code review feedback
1 parent 249543b commit 8cfea8e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/library/timeit.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ The module defines three convenience functions and a public class:
6868
*timer* function and run its :meth:`.timeit` method with *number* executions.
6969
The optional *globals* argument specifies a namespace in which to execute the
7070
code. If *number* is 0, :meth:`.autorange` method is executed, a convenience
71-
function that calls :meth:`.timeit` repeatedly so that the total time >= *target_time* second.
71+
function that calls :meth:`.timeit` repeatedly so that the total time >=
72+
*target_time* second.
7273

7374
.. versionchanged:: 3.5
7475
The optional *globals* parameter was added.
@@ -83,8 +84,8 @@ The module defines three convenience functions and a public class:
8384
*timer* function and run its :meth:`.repeat` method with the given *repeat*
8485
count and *number* executions. The optional *globals* argument specifies a
8586
namespace in which to execute the code. If *number* is 0, :meth:`.autorange`
86-
method is executed, a convenience function that calls :meth:`.timeit` repeatedly
87-
so that the total time >= *target_time* second.
87+
method is executed, a convenience function that calls :meth:`.timeit`
88+
repeatedly so that the total time >= *target_time* second.
8889

8990
.. versionchanged:: 3.5
9091
The optional *globals* parameter was added.
@@ -256,7 +257,7 @@ Where the following options are understood:
256257

257258
.. versionadded:: next
258259

259-
.. cmdoption:: -v, --verbose
260+
.. option:: -v, --verbose
260261

261262
print raw timing results; repeat for more digits precision
262263

0 commit comments

Comments
 (0)