Skip to content

Commit 78f1d11

Browse files
MarcoGorelliTLouf
authored andcommitted
type deprecate_nonkeyword_arguments (pandas-dev#41608)
1 parent 67fe14c commit 78f1d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/util/_decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def deprecate_nonkeyword_arguments(
261261
version: str | None,
262262
allowed_args: list[str] | None = None,
263263
stacklevel: int = 2,
264-
) -> Callable:
264+
) -> Callable[[F], F]:
265265
"""
266266
Decorator to deprecate a use of non-keyword arguments of a function.
267267

0 commit comments

Comments
 (0)