Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pythonprofilers/memory_profiler
/ __enter__
Method
__enter__
memory_profiler.py:836–837 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
834
return
self.trace_max_mem
835
836
def
__enter__(self):
837
self.enable_by_count()
838
839
def
__exit__(self, exc_type, exc_val, exc_tb):
840
self.disable_by_count()
Callers
nothing calls this directly
Calls
1
enable_by_count
Method · 0.95
Tested by
no test coverage detected