mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Add __hash__ for a bunch of types that set it to None (#13286)
This commit is contained in:
1 parent
1f0a86ceb4
commit
3944c7839e
32 files changed
+69
-27
No files matched your search
@@ -257,6 +257,7 @@ if sys.version_info >= (3, 10):
|
||||
def __init__(self, origin: ParamSpec) -> None: ...
|
||||
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
|
||||
@final
|
||||
class ParamSpecKwargs:
|
||||
@@ -268,6 +269,7 @@ if sys.version_info >= (3, 10):
|
||||
def __init__(self, origin: ParamSpec) -> None: ...
|
||||
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
|
||||
@final
|
||||
class ParamSpec:
|
||||
|
||||
Reference in new issue
Block a user