Skip to content

Commit ecf39bb

Browse files
authored
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331)
1 parent 370f7a9 commit ecf39bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/timeit.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def repeat(self, repeat=default_repeat, number=default_number):
206206
return r
207207

208208
def autorange(self, callback=None):
209-
"""Return the number of loops so that total time >= 0.2.
209+
"""Return the number of loops and time taken so that total time >= 0.2.
210210
211211
Calls the timeit method with increasing numbers from the sequence
212212
1, 2, 5, 10, 20, 50, ... until the time taken is at least 0.2

0 commit comments

Comments
 (0)