MCPcopy Create free account
hub / github.com/CompVis/diff2flow / __enter__

Method __enter__

diff2flow/helpers.py:125–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123
124class Timer:
125 def __enter__(self):
126 self.start = time.time()
127 return self
128
129 def __exit__(self, exc_type, exc_val, exc_tb):
130 self.end = time.time()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected