|True| if this object proxies the same element as `other`. Equality for proxy objects is defined as referring to the same XML element, whether or not they are the same proxy object instance.
(self, other: object)
| 173 | self._tc = tc |
| 174 | |
| 175 | def __eq__(self, other: object) -> bool: |
| 176 | """|True| if this object proxies the same element as `other`. |
| 177 | |
| 178 | Equality for proxy objects is defined as referring to the same XML element, whether or not |
| 179 | they are the same proxy object instance. |
| 180 | """ |
| 181 | if not isinstance(other, type(self)): |
| 182 | return False |
| 183 | return self._tc is other._tc |
| 184 | |
| 185 | def __ne__(self, other: object) -> bool: |
| 186 | if not isinstance(other, type(self)): |
nothing calls this directly
no outgoing calls
no test coverage detected