MCPcopy Index your code
hub / github.com/python/cpython / pop

Method pop

Tools/cases_generator/stack.py:49–50  ·  view source on GitHub ↗
(self, item: StackItem)

Source from the content-addressed store, hash-verified

47 return PointerOffset(0, (), ())
48
49 def pop(self, item: StackItem) -> "PointerOffset":
50 return self - PointerOffset.from_item(item)
51
52 def push(self, item: StackItem) -> "PointerOffset":
53 return self + PointerOffset.from_item(item)

Callers

nothing calls this directly

Calls 1

from_itemMethod · 0.80

Tested by

no test coverage detected