Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ push
Method
push
Tools/cases_generator/stack.py:52–53 ·
view source on GitHub ↗
(self, item: StackItem)
Source
from the content-addressed store, hash-verified
50
return
self - PointerOffset.from_item(item)
51
52
def
push(self, item: StackItem) ->
"PointerOffset"
:
53
return
self + PointerOffset.from_item(item)
54
55
@staticmethod
56
def
from_item(item: StackItem) ->
"PointerOffset"
:
Callers
nothing calls this directly
Calls
1
from_item
Method · 0.80
Tested by
no test coverage detected