summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorSadie Louise Bartholomew <sadie.bartholomew@ncas.ac.uk>2022-02-07 14:50:27 +0000
committerSadie Louise Bartholomew <sadie.bartholomew@ncas.ac.uk>2022-02-07 15:03:25 +0000
commite3e6c41843c6c0842d55304b0fc9d88cf1408893 (patch)
tree1a1b39efc824c95ecb41e1d3300f996fcba29ed9 /numpy/lib/function_base.py
parent8e2f732d7b94e48711edda833c9c4714c7f72a84 (diff)
downloadnumpy-e3e6c41843c6c0842d55304b0fc9d88cf1408893.tar.gz
MAINT: Add missing word to warning message
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
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":