bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)

This commit is contained in:
Xiang Zhang 2017-02-28 11:28:44 +08:00 committed by GitHub
parent 7accf2033d
commit c4a786b8ad

2
Lib/timeit.py Normal file → Executable file
View file

@ -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