Skip to content

Commit eaed179

Browse files
committed
DOC: type hints
1 parent 5f26131 commit eaed179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

larray/util/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def wrapper(*args, **kwargs):
665665

666666

667667
# deprecate_kwarg is derived from pandas.util._decorators (0.21)
668-
def deprecate_kwarg(old_arg_name, new_arg_name, mapping=None, arg_converter=None, stacklevel=2):
668+
def deprecate_kwarg(old_arg_name: str, new_arg_name: str, mapping=None, arg_converter=None, stacklevel=2):
669669
if mapping is not None and not isinstance(mapping, dict):
670670
raise TypeError("mapping from old to new argument values must be dict!")
671671

0 commit comments

Comments
 (0)