Show More
@@ -982,7 +982,7 b' python-profiler package from non-free.""")' | |||||
982 | if number == 0: |
|
982 | if number == 0: | |
983 | # determine number so that 0.2 <= total time < 2.0 |
|
983 | # determine number so that 0.2 <= total time < 2.0 | |
984 | number = 1 |
|
984 | number = 1 | |
985 |
for |
|
985 | for _ in range(1, 10): | |
986 | if timer.timeit(number) >= 0.2: |
|
986 | if timer.timeit(number) >= 0.2: | |
987 | break |
|
987 | break | |
988 | number *= 10 |
|
988 | number *= 10 |
General Comments 0
You need to be logged in to leave comments.
Login now