You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can always say "sec", we use singular for the other units:
❯ ./python.exe -m timeit --verbose "import time, random; time.sleep(random.random() * 5)"1 loop -> 3.01 secsraw times: 110 msec, 4.57 sec, 2.07 sec, 1.07 sec, 4.21 sec1 loop, best of 5: 110 msec per loop:0: UserWarning: The test results are likely unreliable. The worst time (4.57 sec) was more than four times slower than the best time (110 msec).
Reacted by Stan Ulbrych, M. Kocher and Youngkwang Yang
Activity
hugovk commentedon Apr 8, 2026
We can always say "sec", we use singular for the other units:
gh-148254: Use singular "sec" in timeit verbose output (#148290)
[3.14] pythongh-148254: Use singular "sec" in timeit verbose output (p…
[3.13] pythongh-148254: Use singular "sec" in timeit verbose output (p…
[3.13] gh-148254: Use singular "sec" in timeit verbose output (GH-148290
[3.14] gh-148254: Use singular "sec" in timeit verbose output (GH-148290
pythongh-148254: Use singular "sec" in timeit verbose output (python#…