summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-10-26 17:57:37 +0200
committerGitHub <noreply@github.com>2020-10-26 17:57:37 +0200
commitab5dc576c1ab55e2a2ebd7efd5e125fac3e84879 (patch)
treed73a1a16d749e36ba09cfb3c976a8e7bb1b8205d /numpy/core/fromnumeric.py
parentbb100bcc3b4975819c9140003463f39b7d8e255e (diff)
parent75b004254f46992f742b2f128700f8cf7d5b3d6d (diff)
downloadnumpy-ab5dc576c1ab55e2a2ebd7efd5e125fac3e84879.tar.gz
Merge pull request #17642 from jamesmyatt/jamesmyatt-patch-1
DOC: Fix reference to atleast_1d
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index b1524b891..771dfb66e 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1840,11 +1840,11 @@ def nonzero(a):
.. note::
When called on a zero-d array or scalar, ``nonzero(a)`` is treated
- as ``nonzero(atleast1d(a))``.
+ as ``nonzero(atleast_1d(a))``.
.. deprecated:: 1.17.0
- Use `atleast1d` explicitly if this behavior is deliberate.
+ Use `atleast_1d` explicitly if this behavior is deliberate.
Parameters
----------