Skip to content

Commit

Permalink
Backport PR #53218 on branch 2.0.x (FIX typo in deprecation message o…
Browse files Browse the repository at this point in the history
…f `deprecate_kwarg` decorator) (#53222)

Backport PR #53218: FIX typo in deprecation message of `deprecate_kwarg` decorator

Co-authored-by: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and Charlie-XIAO committed May 14, 2023
1 parent c65fce1 commit 895b350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/util/_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def wrapper(*args, **kwargs) -> Callable[..., Any]:
else:
new_arg_value = old_arg_value
msg = (
f"the {repr(old_arg_name)}' keyword is deprecated, "
f"the {repr(old_arg_name)} keyword is deprecated, "
f"use {repr(new_arg_name)} instead."
)

Expand Down

0 comments on commit 895b350

Please sign in to comment.