Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/timeit.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down