diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-05-05 18:59:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 18:59:04 -0600 |
commit | 491ddf4cbf18256d1578aea60c58888920895ef0 (patch) | |
tree | fe5112b0d7d271aa5aa853fa44900f4ae72cb999 /doc/source/reference | |
parent | 6153a705c3bf30992ff5bd064ff0507ac78300e4 (diff) | |
parent | de6b269f559258f96fe29401798ec6c8a7dc3dbc (diff) | |
download | numpy-491ddf4cbf18256d1578aea60c58888920895ef0.tar.gz |
Merge pull request #9024 from zengi/patch-1
Correction in default stop index value for negative stepping.
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/arrays.indexing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/arrays.indexing.rst b/doc/source/reference/arrays.indexing.rst index 6a5f428da..ae95517b6 100644 --- a/doc/source/reference/arrays.indexing.rst +++ b/doc/source/reference/arrays.indexing.rst @@ -85,7 +85,7 @@ concepts to remember include: - Assume *n* is the number of elements in the dimension being sliced. Then, if *i* is not given it defaults to 0 for *k > 0* and *n - 1* for *k < 0* . If *j* is not given it defaults to *n* for *k > 0* - and -1 for *k < 0* . If *k* is not given it defaults to 1. Note that + and *-n-1* for *k < 0* . If *k* is not given it defaults to 1. Note that ``::`` is the same as ``:`` and means select all indices along this axis. |