summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorJames Myatt <james@jamesmyatt.co.uk>2020-10-26 15:48:31 +0000
committerJames Myatt <james.myatt@tessella.com>2020-10-26 15:52:51 +0000
commit75b004254f46992f742b2f128700f8cf7d5b3d6d (patch)
treed73a1a16d749e36ba09cfb3c976a8e7bb1b8205d /numpy/core/fromnumeric.py
parentbb100bcc3b4975819c9140003463f39b7d8e255e (diff)
downloadnumpy-75b004254f46992f742b2f128700f8cf7d5b3d6d.tar.gz
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
----------