mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-08 20:43:25 +08:00
Improve several __hash__ methods (#8128)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from typing import Any, ClassVar
|
||||
|
||||
def load_source(name: str, path: str) -> dict[str, Any]: ...
|
||||
|
||||
@@ -9,7 +9,7 @@ class DataProxy:
|
||||
def __setattr__(self, key, value) -> None: ...
|
||||
def __iter__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
__hash__: Any
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
def __len__(self): ...
|
||||
def __setitem__(self, key, value) -> None: ...
|
||||
def __getitem__(self, key): ...
|
||||
|
||||
Reference in New Issue
Block a user