Skip to content

Commit c4a786b

Browse files
authored
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)
1 parent 7accf20 commit c4a786b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/timeit.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def repeat(self, repeat=default_repeat, number=default_number):
208208
return r
209209

210210
def autorange(self, callback=None):
211-
"""Return the number of loops so that total time >= 0.2.
211+
"""Return the number of loops and time taken so that total time >= 0.2.
212212
213213
Calls the timeit method with *number* set to successive powers of
214214
ten (10, 100, 1000, ...) up to a maximum of one billion, until

0 commit comments

Comments
 (0)