(self)
| 518 | return "%s", (combined_value,) |
| 519 | |
| 520 | def __invert__(self): |
| 521 | # Apply De Morgan's theorem. |
| 522 | cloned = self.copy() |
| 523 | cloned.connector = self.BITAND if self.connector == self.BITOR else self.BITOR |
| 524 | cloned.lhs = ~self.lhs |
| 525 | cloned.rhs = ~self.rhs |
| 526 | return cloned |