diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-07 08:55:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 08:55:04 -0800 |
commit | 6554778e47f75d46677fc858dd14e2414e420c99 (patch) | |
tree | d434466cb8dc69193fe82260dd478f7941fcc5ac /numpy/lib/function_base.py | |
parent | 3bf85c2e54ac347de180513b1cfa99d8b437845a (diff) | |
parent | e3e6c41843c6c0842d55304b0fc9d88cf1408893 (diff) | |
download | numpy-6554778e47f75d46677fc858dd14e2414e420c99.tar.gz |
Merge pull request #21010 from sadielbartholomew/fix-warning-msg-interpolation-kwarg
MAINT: Fix warning message for deprecated keyword
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index d5b130b72..900538134 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -4411,7 +4411,7 @@ def _check_interpolation_as_method(method, interpolation, fname): f"the `interpolation=` argument to {fname} was renamed to " "`method=`, which has additional options.\n" "Users of the modes 'nearest', 'lower', 'higher', or " - "'midpoint' are encouraged to review the method they. " + "'midpoint' are encouraged to review the method they used. " "(Deprecated NumPy 1.22)", DeprecationWarning, stacklevel=4) if method != "linear": |