This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rosuav
Recipients Rosuav, terry.reedy
Date 2013-03-14.08:14:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363248890.42.0.978472113669.issue17414@psf.upfronthosting.co.za>
In-reply-to
Content
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__.
History
Date User Action Args
2013-03-14 08:14:50Rosuavsetrecipients: + Rosuav, terry.reedy
2013-03-14 08:14:50Rosuavsetmessageid: <1363248890.42.0.978472113669.issue17414@psf.upfronthosting.co.za>
2013-03-14 08:14:50Rosuavlinkissue17414 messages
2013-03-14 08:14:50Rosuavcreate