Skip to content

Commit 895b350

Browse files
Backport PR #53218 on branch 2.0.x (FIX typo in deprecation message of deprecate_kwarg decorator) (#53222)
Backport PR #53218: FIX typo in deprecation message of `deprecate_kwarg` decorator Co-authored-by: Yao Xiao <[email protected]>
1 parent c65fce1 commit 895b350

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
@@ -195,7 +195,7 @@ def wrapper(*args, **kwargs) -> Callable[..., Any]:
195195
else:
196196
new_arg_value = old_arg_value
197197
msg = (
198-
f"the {repr(old_arg_name)}' keyword is deprecated, "
198+
f"the {repr(old_arg_name)} keyword is deprecated, "
199199
f"use {repr(new_arg_name)} instead."
200200
)
201201

0 commit comments

Comments
 (0)