MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / __sub__

Method __sub__

src/pointers/stack_pointer.py:61–66  ·  view source on GitHub ↗
(self, amount: int)

Source from the content-addressed store, hash-verified

59 )
60
61 def __sub__(self, amount: int):
62 return StackAllocatedPointer(
63 self.ensure() - amount,
64 self.size,
65 self.assigned,
66 )
67
68 def free(self) -> None:
69 raise ValueError(

Callers

nothing calls this directly

Calls 2

ensureMethod · 0.45

Tested by

no test coverage detected