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

+2 -2
View File
@@ -14,12 +14,12 @@ def ip_network(address: object, strict: bool = ...) -> Any: ... # morally Union
def ip_interface(address: object) -> Any: ... # morally Union[IPv4Interface, IPv6Interface]
class _IPAddressBase:
def __eq__(self, other: Any) -> bool: ...
def __eq__(self, other: object) -> bool: ...
def __ge__(self: _T, other: _T) -> bool: ...
def __gt__(self: _T, other: _T) -> bool: ...
def __le__(self: _T, other: _T) -> bool: ...
def __lt__(self: _T, other: _T) -> bool: ...
def __ne__(self, other: Any) -> bool: ...
def __ne__(self, other: object) -> bool: ...
@property
def compressed(self) -> Text: ...
@property