summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorJoseph R. Fox-Rabinovitz <jfoxrabinovitz@gmail.com>2019-09-30 22:59:23 -0400
committerJoseph R. Fox-Rabinovitz <jfoxrabinovitz@gmail.com>2019-09-30 22:59:23 -0400
commit3a99bfe2d3cc7dbb397c9ce6e819adc9dab9b4e8 (patch)
tree6587778b7dc9049ed8ad1258020c1f15c51bff80 /numpy/core/fromnumeric.py
parent8fa7b6e73380d4b73251d8226d90f327996baa19 (diff)
downloadnumpy-3a99bfe2d3cc7dbb397c9ce6e819adc9dab9b4e8.tar.gz
DOC: Updated sphinx directive formatting
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 140056432..6c0b9cde9 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1775,11 +1775,13 @@ def nonzero(a):
which returns a row for each non-zero element.
.. note::
- When called on a zero-d array or scalar, ``nonzero(a)`` is treated
- as ``nonzero(atleast1d(a))``.
- ..deprecated:: 1.17.0
- Use `atleast1d` explicitly if this behavior is deliberate.
+ When called on a zero-d array or scalar, ``nonzero(a)`` is treated
+ as ``nonzero(atleast1d(a))``.
+
+ .. deprecated:: 1.17.0
+
+ Use `atleast1d` explicitly if this behavior is deliberate.
Parameters
----------