Update Unused parameters in stubs/ (#9704)

* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
This commit is contained in:
Avasam authored and GitHub committed 2023-02-21 23:52:52 -08:00
1 parent fbc092b4cd
commit 078c6a0958
33 files changed
+134 -133

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
from _typeshed import Unused
from collections.abc import Hashable
__all__ = ("hashkey", "methodkey", "typedkey")
def hashkey(*args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
def methodkey(self: object, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
def methodkey(self: Unused, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
def typedkey(*args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...