bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (G… · python/cpython@c4a786b (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit c4a786b

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -208,7 +208,7 @@ def repeat(self, repeat=default_repeat, number=default_number):
208 208 return r
209 209
210 210 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.
212 212
213 213 Calls the timeit method with *number* set to successive powers of
214 214 ten (10, 100, 1000, ...) up to a maximum of one billion, until