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.

classification
Title: timeit documentation
Type: Stage: resolved
Components: Documentation Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: ezio.melotti, georg.brandl, hrfeels
Priority: normal Keywords:

Created on 2009-05-01 17:53 by hrfeels, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg86891 - (view) Author: how rabbit feels (hrfeels) Date: 2009-05-01 17:53
It should be noted in the documentation that the 'setup' argument may be
a semicolon delimited list of imports:

Example:

t = timeit.Timer('squeezer.testRegular()', 'import squeezer; from
squeezer import myStaticData1, myStaticData2, testRegular')



related issues: 2527, 5441, 1397474
msg89761 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2009-06-27 23:47
Fixed in r73595.
Thanks!
History
Date User Action Args
2022-04-11 14:56:48adminsetgithub: 50146
2009-06-27 23:47:42ezio.melottisetstatus: open -> closed

nosy: + ezio.melotti
messages: + msg89761

resolution: fixed
stage: resolved
2009-05-01 17:53:49hrfeelscreate