MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / __exit__

Method __exit__

src/13/making_a_stopwatch/stopwatch.py:32–33  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

30 return self
31
32 def __exit__(self, *args):
33 self.end()
34
35
36if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

endMethod · 0.95

Tested by

no test coverage detected