Reduce use of Any in equality methods (#7081)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Alex Waygood
2022-01-29 22:59:00 +00:00
committed by GitHub
parent 9aeecb4c35
commit 45a2dad83c
21 changed files with 38 additions and 37 deletions

View File

@@ -95,8 +95,8 @@ class POEntry(_BaseEntry):
def __lt__(self, other: POEntry) -> bool: ...
def __ge__(self, other: POEntry) -> bool: ...
def __le__(self, other: POEntry) -> bool: ...
def __eq__(self, other: Any) -> bool: ...
def __ne__(self, other: Any) -> bool: ...
def __eq__(self, other: POEntry) -> bool: ... # type: ignore[override]
def __ne__(self, other: POEntry) -> bool: ... # type: ignore[override]
def translated(self) -> bool: ...
def merge(self, other: POEntry) -> None: ...
@property