]> granicus.if.org Git - python/commitdiff
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)
authorXiang Zhang <angwerzx@126.com>
Tue, 28 Feb 2017 03:28:44 +0000 (11:28 +0800)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2017 03:28:44 +0000 (11:28 +0800)
Lib/timeit.py [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 2770efa..8eea766
@@ -208,7 +208,7 @@ class Timer:
         return r
 
     def autorange(self, callback=None):
-        """Return the number of loops so that total time >= 0.2.
+        """Return the number of loops and time taken so that total time >= 0.2.
 
         Calls the timeit method with *number* set to successive powers of
         ten (10, 100, 1000, ...) up to a maximum of one billion, until