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

Method __neg__

Tools/cases_generator/stack.py:93–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 )
92
93 def __neg__(self) -> "PointerOffset":
94 return PointerOffset(-self.numeric, self.negative, self.positive)
95
96 @staticmethod
97 def _simplify(positive: tuple[str, ...], negative: tuple[str, ...]) -> tuple[tuple[str, ...], tuple[str, ...]]:

Callers

nothing calls this directly

Calls 1

PointerOffsetClass · 0.85

Tested by

no test coverage detected