Message184147
The timeit module is commonly used via the convenience function timeit.timeit, which is listed in the documentation as the recommended "Python Interface":
http://docs.python.org/3/library/timeit.html
However, this function is not listed in __all__, meaning that it does not come up in IDLE when Ctrl-Space is pressed. It is also not mentioned in the module docstring, which says "Library usage: see the Timer class.".
Same applies to timeit.repeat(), save that it's not as commonly used. Both are listed in the online docs but not in the docstring or __all__. |
|
Date |
User |
Action |
Args |
2013-03-14 08:14:50 | Rosuav | set | recipients:
+ Rosuav, terry.reedy |
2013-03-14 08:14:50 | Rosuav | set | messageid: <1363248890.42.0.978472113669.issue17414@psf.upfronthosting.co.za> |
2013-03-14 08:14:50 | Rosuav | link | issue17414 messages |
2013-03-14 08:14:50 | Rosuav | create | |
|