Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ register
Method
register
Tools/cases_generator/stack.py:170–172 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
168
169
@staticmethod
170
def
register(name: str) ->
"Local"
:
171
item = StackItem(name,
""
, False, True)
172
return
Local(item, None, True)
173
174
def
kill(self) -> None:
175
self.in_local = False
Callers
1
push_cache
Method · 0.45
Calls
2
StackItem
Class · 0.90
Local
Class · 0.70
Tested by
no test coverage detected