diff options
author | Matteo Raso <matteo_luigi_raso@protonmail.com> | 2023-01-24 18:37:14 -0500 |
---|---|---|
committer | Matteo Raso <matteo_luigi_raso@protonmail.com> | 2023-01-24 18:37:14 -0500 |
commit | d961af2f8006657e5309f8c91d50bad8a2b9b0c5 (patch) | |
tree | b5f2c634057d22d62ff6851524c3a8db99a7b709 /numpy/lib/function_base.py | |
parent | 4bb56c412d0841dadf642cc1e5027084231c68e1 (diff) | |
download | numpy-d961af2f8006657e5309f8c91d50bad8a2b9b0c5.tar.gz |
Changed documentation for numpy.vectorize
Previous definition implies that vectorize returns generalized functions,
which is not true.
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 a49394c47..f7bc09166 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -2122,7 +2122,7 @@ class vectorize: vectorize(pyfunc=np._NoValue, otypes=None, doc=None, excluded=None, cache=False, signature=None) - Generalized function class. + Returns an object that acts like pyfunc, but takes arrays as input. Define a vectorized function which takes a nested sequence of objects or numpy arrays as inputs and returns a single numpy array or a tuple of numpy |