MCPcopy Index your code
hub / github.com/python/cpython / __enter__

Method __enter__

Lib/profiling/tracing/__init__.py:130–132  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self.disable()
129
130 def __enter__(self):
131 self.enable()
132 return self
133
134 def __exit__(self, *exc_info):
135 self.disable()

Callers

nothing calls this directly

Calls 1

enableMethod · 0.45

Tested by

no test coverage detected