MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __init__

Method __init__

example_code/item_109.py:77–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75
76class ReusableTimer:
77 def __init__(self):
78 self.timer = None
79
80 def countdown(self, duration, callback):
81 self.end()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected