MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / repeat

Function repeat

tools/python-3.11.9-amd64/Lib/timeit.py:240–243  ·  view source on GitHub ↗

Convenience function to create Timer object and call repeat method.

(stmt="pass", setup="pass", timer=default_timer,
           repeat=default_repeat, number=default_number, globals=None)

Source from the content-addressed store, hash-verified

238
239
240def repeat(stmt="pass", setup="pass", timer=default_timer,
241 repeat=default_repeat, number=default_number, globals=None):
242 """Convenience function to create Timer object and call repeat method."""
243 return Timer(stmt, setup, timer, globals).repeat(repeat, number)
244
245
246def main(args=None, *, _wrap_timer=None):

Callers 15

itermonthdaysMethod · 0.85
harmonic_meanFunction · 0.85
_group_lengthsFunction · 0.85
intersperseFunction · 0.85
windowedFunction · 0.85
paddedFunction · 0.85
repeat_eachFunction · 0.85
repeat_lastFunction · 0.85
zip_offsetFunction · 0.85
decodeMethod · 0.85
pad_noneFunction · 0.85
ncyclesFunction · 0.85

Calls 2

repeatMethod · 0.80
TimerClass · 0.70

Tested by

no test coverage detected