Skip to content

Commit 8dda4ea

Browse files
committed
Add positional-only marker to methodkey and typedmethodkey
1 parent 293b140 commit 8dda4ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stubs/cachetools/cachetools/keys.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ from collections.abc import Hashable
44
__all__ = ("hashkey", "methodkey", "typedkey", "typedmethodkey")
55

66
def hashkey(*args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
7-
def methodkey(self: Unused, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
7+
def methodkey(self: Unused, /, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
88
def typedkey(*args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
9-
def typedmethodkey(self: Unused, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...
9+
def typedmethodkey(self: Unused, /, *args: Hashable, **kwargs: Hashable) -> tuple[Hashable, ...]: ...

0 commit comments

Comments
 (0)