Improve several __hash__ methods (#8128)

This commit is contained in:
Alex Waygood
2022-06-22 11:58:00 +01:00
committed by GitHub
parent 9eed3275c3
commit 89f4dee452
9 changed files with 26 additions and 25 deletions

View File

@@ -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): ...