Kaydet (Commit) c4a786b8 authored tarafından Xiang Zhang's avatar Xiang Zhang Kaydeden (comit) GitHub

bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)

üst 7accf203
......@@ -208,7 +208,7 @@ class Timer:
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 *number* set to successive powers of
ten (10, 100, 1000, ...) up to a maximum of one billion, until
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment