Skip to content

Commit a68523b

Browse files
authored
type deprecate_nonkeyword_arguments (#41608)
1 parent da2f408 commit a68523b

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)