(self, other)
| 95 | return self._combine(other, self.POW, False) |
| 96 | |
| 97 | def __and__(self, other): |
| 98 | if getattr(self, "conditional", False) and getattr(other, "conditional", False): |
| 99 | return Q(self) & Q(other) |
| 100 | raise NotImplementedError( |
| 101 | "Use .bitand(), .bitor(), and .bitxor() for bitwise logical operations." |
| 102 | ) |
| 103 | |
| 104 | def bitand(self, other): |
| 105 | return self._combine(other, self.BITAND, False) |