From bfec9eeb4d8b11cd4c695aae1ebe089a21709819 Mon Sep 17 00:00:00 2001 From: Christopher Dembia Date: Fri, 6 Dec 2013 16:20:47 -0800 Subject: Correct typo in interp() docstring. The docstring for interp() contained the grammatically-incorrect text "defaults is". I corrected this to "default is". --- numpy/lib/function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/function_base.py') diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index db0c5ffbb..01c44eec5 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1085,7 +1085,7 @@ def interp(x, xp, fp, left=None, right=None): Value to return for `x < xp[0]`, default is `fp[0]`. right : float, optional - Value to return for `x > xp[-1]`, defaults is `fp[-1]`. + Value to return for `x > xp[-1]`, default is `fp[-1]`. Returns ------- -- cgit v1.2.1