MCPcopy 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_cacheMethod · 0.45

Calls 2

StackItemClass · 0.90
LocalClass · 0.70

Tested by

no test coverage detected