mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
Reduce use of Any in equality methods (#7081)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -14,12 +14,12 @@ def ip_network(address: object, strict: bool = ...) -> IPv4Network | IPv6Network
|
||||
def ip_interface(address: object) -> IPv4Interface | IPv6Interface: ...
|
||||
|
||||
class _IPAddressBase:
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __ge__(self: Self, other: Self) -> bool: ...
|
||||
def __gt__(self: Self, other: Self) -> bool: ...
|
||||
def __le__(self: Self, other: Self) -> bool: ...
|
||||
def __lt__(self: Self, other: Self) -> bool: ...
|
||||
def __ne__(self, other: Any) -> bool: ...
|
||||
def __ne__(self, other: object) -> bool: ...
|
||||
@property
|
||||
def compressed(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user