summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2018-08-13 13:46:32 +0100
committerMatthew Brett <matthew.brett@gmail.com>2018-08-13 13:46:32 +0100
commit9ac8c04ba44f9caca0638495de9be2c95855f10d (patch)
tree91ad9f70d8f642aaf64f2b60e3740136c596f72f /numpy/lib/function_base.py
parentcf8397501603276ad30e03ba6bd84ca00b3c9eb4 (diff)
downloadnumpy-9ac8c04ba44f9caca0638495de9be2c95855f10d.tar.gz
DOC: fix typo in vectorize docstring
"an single" typo pointed out by keithbriggs - see gh-11730.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 3ae8ed80a..2992e92bb 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1782,8 +1782,8 @@ class vectorize(object):
Generalized function class.
Define a vectorized function which takes a nested sequence of objects or
- numpy arrays as inputs and returns an single or tuple of numpy array as
- output. The vectorized function evaluates `pyfunc` over successive tuples
+ numpy arrays as inputs and returns a single numpy array or a tuple of numpy
+ arrays. The vectorized function evaluates `pyfunc` over successive tuples
of the input arrays like the python map function, except it uses the
broadcasting rules of numpy.