(self, other)
| 111 | return self._combine(other, self.BITRIGHTSHIFT, False) |
| 112 | |
| 113 | def __xor__(self, other): |
| 114 | if getattr(self, "conditional", False) and getattr(other, "conditional", False): |
| 115 | return Q(self) ^ Q(other) |
| 116 | raise NotImplementedError( |
| 117 | "Use .bitand(), .bitor(), and .bitxor() for bitwise logical operations." |
| 118 | ) |
| 119 | |
| 120 | def bitxor(self, other): |
| 121 | return self._combine(other, self.BITXOR, False) |