mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 02:57:14 +08:00
Reduce use of Any in equality methods (#7081)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -122,7 +122,7 @@ class Password:
|
||||
str: _str | None
|
||||
def __init__(self, str: _str | None = ..., hashfunc: Callable[[bytes], _HashType] | None = ...) -> None: ...
|
||||
def set(self, value: bytes | _str) -> None: ...
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __eq__(self, other: _str | bytes | None) -> bool: ... # type: ignore[override]
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
def notify(
|
||||
|
||||
Reference in New Issue
Block a user