[New-bugs-announce] [issue5896] timeit documentation

how rabbit feels report at bugs.python.org
Fri May 1 19:53:50 CEST 2009


New submission from how rabbit  feels <hrfeels at gmail.com>:

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

----------
assignee: georg.brandl
components: Documentation
messages: 86891
nosy: georg.brandl, hrfeels
severity: normal
status: open
title: timeit documentation
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5896>
_______________________________________


More information about the New-bugs-announce mailing list