PyDocs

Nav

Debugging and profiling

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.
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.
See Also
No see-alsos for timeit/repeat
0 Notes
No notes for repeat