]> granicus.if.org Git - python/commitdiff
correct a couple docstring nits
authorSkip Montanaro <skip@pobox.com>
Tue, 8 Apr 2003 19:40:19 +0000 (19:40 +0000)
committerSkip Montanaro <skip@pobox.com>
Tue, 8 Apr 2003 19:40:19 +0000 (19:40 +0000)
Lib/timeit.py

index b203c2c087d6763b624f1f15ceb490ee3c36ca46..e4d0e50e01a1a3f96460a75dbec7e11e094ff855 100644 (file)
@@ -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.