Skip to content

Commit 1457419

Browse files
DOC: fix grammar of deprecation message (pandas-dev#21421)
1 parent 7c1fe30 commit 1457419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/util/_decorators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def wrapper(*args, **kwargs):
140140
if new_arg_name is None and old_arg_value is not None:
141141
msg = (
142142
"the '{old_name}' keyword is deprecated and will be "
143-
"removed in a future version "
144-
"please takes steps to stop use of '{old_name}'"
143+
"removed in a future version. "
144+
"Please take steps to stop the use of '{old_name}'"
145145
).format(old_name=old_arg_name)
146146
warnings.warn(msg, FutureWarning, stacklevel=stacklevel)
147147
kwargs[old_arg_name] = old_arg_value

0 commit comments

Comments
 (0)