(self, other: "PointerOffset")
| 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( |