Structural equality.
(self, other: object)
| 699 | return _ffi_api.DictCount(self, k) != 0 |
| 700 | |
| 701 | def __eq__(self, other: object) -> bool: |
| 702 | """Structural equality.""" |
| 703 | if not (isinstance(other, type(self)) or isinstance(self, type(other))): |
| 704 | return NotImplemented |
| 705 | return _ffi_api.RecursiveEq(self, other) |
| 706 | |
| 707 | def __ne__(self, other: object) -> bool: |
| 708 | """Structural inequality.""" |
no outgoing calls