Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 10, 2025

Set it to object.ne.
This guarantees that the != operator is consistent with the == operator, even if the ne method was defined in other parent class.

Set it to object.__ne__.
This guarantees that the != operator is consistent with the == operator,
even if the __ne__ method was defined in other parent class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant