diff options
author | Christopher Dembia <cld72@cornell.edu> | 2013-12-06 16:20:47 -0800 |
---|---|---|
committer | Christopher Dembia <cld72@cornell.edu> | 2013-12-06 16:20:47 -0800 |
commit | bfec9eeb4d8b11cd4c695aae1ebe089a21709819 (patch) | |
tree | 5f9548a4f1ab656023544b1923f4a74bc5805f4d /numpy/lib/function_base.py | |
parent | d47b6de83b9435628ee2883df4b029601fe46d0e (diff) | |
download | numpy-bfec9eeb4d8b11cd4c695aae1ebe089a21709819.tar.gz |
Correct typo in interp() docstring.
The docstring for interp() contained the grammatically-incorrect text "defaults is". I corrected this to "default is".
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 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 ------- |