diff options
author | Skip Montanaro <skip@pobox.com> | 2003-04-08 19:40:19 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-04-08 19:40:19 (GMT) |
commit | fb2a6ccfc42cb15e15c4d2608bf096357a8a79ed (patch) | |
tree | da0730cbc4193310adeff10c28afdcf280c49fc5 /Lib/timeit.py | |
parent | f995cce4dfdc18f95d88718a4720168444649fce (diff) | |
download | cpython-fb2a6ccfc42cb15e15c4d2608bf096357a8a79ed.zip cpython-fb2a6ccfc42cb15e15c4d2608bf096357a8a79ed.tar.gz cpython-fb2a6ccfc42cb15e15c4d2608bf096357a8a79ed.tar.bz2 |
correct a couple docstring nits
Diffstat (limited to 'Lib/timeit.py')
-rw-r--r-- | Lib/timeit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/timeit.py b/Lib/timeit.py index b203c2c..e4d0e50 100644 --- a/Lib/timeit.py +++ b/Lib/timeit.py @@ -157,11 +157,11 @@ class Timer: return self.inner(it, self.timer) def repeat(self, repeat=default_repeat, number=default_number): - """Call timer() a few times. + """Call timeit() a few times. - This is a convenience function that calls the timer() + This is a convenience function that calls the timeit() repeatedly, returning a list of results. The first argument - specifies how many times to call timer(), defaulting to 3; + specifies how many times to call timeit(), defaulting to 3; the second argument specifies the timer argument, defaulting to one million. |