Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ in_memory
Method
in_memory
Tools/cases_generator/stack.py:178–179 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
176
self.memory_offset = None
177
178
def
in_memory(self) -> bool:
179
return
self.memory_offset is not None or self.is_array()
180
181
def
is_dead(self) -> bool:
182
return
not self.in_local and self.memory_offset is None
Callers
1
is_flushed
Method · 0.80
Calls
1
is_array
Method · 0.95
Tested by
no test coverage detected