| 811 | return not self.__eq__(other) |
| 812 | |
| 813 | class CD: |
| 814 | def __init__(self, c, d): |
| 815 | self.c = c |
| 816 | self.d = d |
| 817 | |
| 818 | def __composite_values__(self): |
| 819 | return (self.c, self.d) |
| 820 | |
| 821 | def __eq__(self, other): |
| 822 | return ( |
| 823 | isinstance(other, CD) |
| 824 | and self.c == other.c |
| 825 | and self.d == other.d |
| 826 | ) |
| 827 | |
| 828 | def __ne__(self, other): |
| 829 | return not self.__eq__(other) |
| 830 | |
| 831 | class Thing: |
| 832 | def __init__(self, ab): |
no outgoing calls