Reduce use of Any in equality methods (#7081)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Alex WaygoodandAkuli authored and GitHub committed 2022-01-30 00:59:00 +02:00
1 parent 9aeecb4c35
commit 45a2dad83c
21 files changed
+38 -37

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ class NamedNodeMap:
def values(self): ...
def get(self, name, value: Any | None = ...): ...
def __len__(self) -> int: ...
def __eq__(self, other: Any) -> bool: ...
def __eq__(self, other: object) -> bool: ...
def __ge__(self, other: Any) -> bool: ...
def __gt__(self, other: Any) -> bool: ...
def __le__(self, other: Any) -> bool: ...