]> granicus.if.org Git - python/commit
Issue #18983: Allow selection of output units in timeit.
authorRobert Collins <rbtcollins@hp.com>
Tue, 17 Mar 2015 20:54:50 +0000 (09:54 +1300)
committerRobert Collins <rbtcollins@hp.com>
Tue, 17 Mar 2015 20:54:50 +0000 (09:54 +1300)
commit302dbc6792895de98ab14b382e7a35f512396ac7
tree9c83183ef5b8dc84fa2d29b15b6ef3e3beb726c3
parentf024d263b4af789af0eb3727417bbeec582f69eb
Issue #18983: Allow selection of output units in timeit.

This allows manual selection of a specific unit such as usecs rather than the
use of a heuristic. This is intended to aid machine processing of timeit
output.

Patch by Serhiy Storchaka.
Doc/library/timeit.rst
Lib/test/test_timeit.py
Lib/timeit.py
Misc/NEWS