PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Debugging and profiling
bdb
faulthandler
pdb
profiling
profiling.sampling
profiling.tracing
pstats
timeit
trace
tracemalloc
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Debugging and profiling
bdb
faulthandler
pdb
profiling
sampling
tracing
pstats
timeit
trace
tracemalloc
All modules
repeat
timeit
function
(
source
)
repeat(stmt='pass', setup='pass', timer=<default timer>, repeat=5, number=1000000, globals=None)
Convenience function to create Timer object and call repeat method.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.5, 3.7
3.5:
The optional globals parameter was added.
3.7:
Default value of repeat changed from 3 to 5.
0 Examples
No examples for timeit/repeat.
Log in
to add an example
See Also
No see-alsos for
timeit/repeat
Log in
to add a see-also
0 Notes
No notes for
repeat
Log in
to add a note