Skip to content

Commit

Permalink
Comment: Fixed the implementation of a special method.
Browse files Browse the repository at this point in the history
  • Loading branch information
munahaf authored and rwols committed Sep 2, 2023
1 parent e6bbc8f commit 00d69d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -6285,7 +6285,7 @@ def __repr__(self) -> str:

def __eq__(self, other: object) -> bool:
if not isinstance(other, Point):
raise NotImplementedError()
return NotImplemented
return self.row == other.row and self.col == other.col

@classmethod
Expand Down

0 comments on commit 00d69d0

Please sign in to comment.