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

Method __sub__

Tools/cases_generator/stack.py:79–84  ·  view source on GitHub ↗
(self, other: "PointerOffset")

Source from the content-addressed store, hash-verified

77 return PointerOffset(numeric, positive, negative)
78
79 def __sub__(self, other: "PointerOffset") -> "PointerOffset":
80 return PointerOffset.create(
81 self.numeric - other.numeric,
82 self.positive + other.negative,
83 self.negative + other.positive
84 )
85
86 def __add__(self, other: "PointerOffset") -> "PointerOffset":
87 return PointerOffset.create(

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected