diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2019-10-01 10:41:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 10:41:55 -0700 |
commit | 25ce1dec42c175b1f5dee64aa5e04acad3283ce1 (patch) | |
tree | a59452384350d1b105f1f38d93ca6ffc20046f5a /numpy/core/fromnumeric.py | |
parent | ec06212c336e9d9fdb7896947c76773bb25816d6 (diff) | |
parent | 3a99bfe2d3cc7dbb397c9ce6e819adc9dab9b4e8 (diff) | |
download | numpy-25ce1dec42c175b1f5dee64aa5e04acad3283ce1.tar.gz |
Merge pull request #14616 from madphysicist/comment-correction
DOC: Updated sphinx directive formatting
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 10 |
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 ---------- |