Author Rosuav
Recipients Rosuav, terry.reedy
Date 2013-03-14.08:14:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The timeit module is commonly used via the convenience function timeit.timeit, which is listed in the documentation as the recommended "Python Interface":

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:50Rosuavsetrecipients: + Rosuav, terry.reedy
2013-03-14 08:14:50Rosuavsetmessageid: <>
2013-03-14 08:14:50Rosuavlinkissue17414 messages
2013-03-14 08:14:50Rosuavcreate