Lines Matching defs:Timer
33 'Timer', 'setprofile', 'settrace', 'local', 'stack_size']
1035 # The timer class was contributed by Itamar Shtull-Trauring
1037 def Timer(*args, **kwargs):
1038 """Factory function to create a Timer object.
1042 t = Timer(30.0, f, args=[], kwargs={})
1044 t.cancel() # stop the timer's action if it's still waiting
1052 t = Timer(30.0, f, args=[], kwargs={})
1054 t.cancel() # stop the timer's action if it's still waiting
1067 """Stop the timer if it hasn't finished yet"""