Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jing Wang committed Aug 13, 2023
1 parent 09c4193 commit 6be858c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyhdfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __repr__(self) -> str:
return "{}({})".format(self.__class__.__name__, ", ".join(kvs))

def __eq__(self, other: object) -> bool:
return isinstance(other, self.__class__) and dict.__eq__(self, other)
return isinstance(other, self.__class__) and super().__eq__(other)

def __ne__(self, other: object) -> bool:
return not self.__eq__(other)
Expand Down

0 comments on commit 6be858c

Please sign in to comment.