From ecf39bbc97adc0fb67654602e37d0d8313e9be9d Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Tue, 28 Feb 2017 11:06:07 +0800 Subject: [PATCH] bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) --- Lib/timeit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Lib/timeit.py diff --git a/Lib/timeit.py b/Lib/timeit.py old mode 100644 new mode 100755 index 38c2b1f061e..418166d7918 --- a/Lib/timeit.py +++ b/Lib/timeit.py @@ -206,7 +206,7 @@ def repeat(self, repeat=default_repeat, number=default_number): 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 increasing numbers from the sequence 1, 2, 5, 10, 20, 50, ... until the time taken is at least 0.2