@@ -31,13 +31,13 @@ The module defines the following public class:
3131 may also contain multiple statements separated by ``; `` or newlines, as long as
3232 they don't contain multi-line string literals.
3333
34- To measure the execution time of the first statement, use the :meth: `timeit `
35- method. The :meth: `repeat ` method is a convenience to call :meth: `timeit `
34+ To measure the execution time of the first statement, use the :meth: `Timer. timeit `
35+ method. The :meth: `repeat ` method is a convenience to call :meth: `. timeit `
3636 multiple times and return a list of results.
3737
3838 The *stmt * and *setup * parameters can also take objects that are callable
3939 without arguments. This will embed calls to them in a timer function that
40- will then be executed by :meth: `timeit `. Note that the timing overhead is a
40+ will then be executed by :meth: `. timeit `. Note that the timing overhead is a
4141 little larger in this case because of the extra function calls.
4242
4343
@@ -60,12 +60,12 @@ The module defines the following public class:
6060
6161.. method :: Timer.repeat(repeat=3, number=1000000)
6262
63- Call :meth: `timeit ` a few times.
63+ Call :meth: `. timeit ` a few times.
6464
65- This is a convenience function that calls the :meth: `timeit ` repeatedly,
65+ This is a convenience function that calls the :meth: `. timeit ` repeatedly,
6666 returning a list of results. The first argument specifies how many times to
67- call :meth: `timeit `. The second argument specifies the *number * argument for
68- :func: ` timeit `.
67+ call :meth: `. timeit `. The second argument specifies the *number * argument for
68+ :meth: ` . timeit `.
6969
7070 .. note ::
7171
@@ -89,7 +89,7 @@ The module defines the following public class:
8989
9090 .. note ::
9191
92- By default, :meth: `timeit ` temporarily turns off :term: `garbage collection `
92+ By default, :meth: `. timeit ` temporarily turns off :term: `garbage collection `
9393 during the timing. The advantage of this approach is that it makes
9494 independent timings more comparable. This disadvantage is that GC may be
9595 an important component of the performance of the function being measured.
@@ -117,7 +117,7 @@ The module also defines three convenience functions:
117117.. function :: timeit(stmt='pass', setup='pass', timer=<default timer>, number=1000000)
118118
119119 Create a :class: `Timer ` instance with the given statement, setup code and timer
120- function and run its :meth: `timeit ` method with *number * executions.
120+ function and run its :meth: `. timeit ` method with *number * executions.
121121
122122
123123Command Line Interface
@@ -243,7 +243,7 @@ attributes. ::
243243 3.15 usec/pass
244244
245245To give the :mod: `timeit ` module access to functions you define, you can pass a
246- `` setup `` parameter which contains an import statement::
246+ * setup * parameter which contains an import statement::
247247
248248 def test():
249249 """Stupid test function"""
0 commit comments