summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-06-03 09:31:38 -0600
committerGitHub <noreply@github.com>2017-06-03 09:31:38 -0600
commit48b0374b8cb2e06a1bc620a9dcaa35c2d92753f2 (patch)
treeb02ce41cd466d1fba0d5918904ffbd3b128f1444 /numpy/core/numeric.py
parente5e2cf89d01d7b09631977482b11df79e8131c6d (diff)
parentcbaa809820656bf39f4ec78a9bec1426239ce440 (diff)
downloadnumpy-48b0374b8cb2e06a1bc620a9dcaa35c2d92753f2.tar.gz
Merge pull request #9214 from eric-wieser/no-one-arg-where
MAINT: Don't internally use the one-argument where
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 9073ca5ff..83f2ce838 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -838,7 +838,7 @@ def argwhere(a):
``np.argwhere(a)`` is the same as ``np.transpose(np.nonzero(a))``.
The output of ``argwhere`` is not suitable for indexing arrays.
- For this purpose use ``where(a)`` instead.
+ For this purpose use ``nonzero(a)`` instead.
Examples
--------