summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@idgrilles.fr>2015-12-26 10:13:01 +0100
committerVincent Legoll <vincent.legoll@idgrilles.fr>2015-12-26 10:13:01 +0100
commitf9976c82d33431693b1a1af30549cdb1d7bee4ad (patch)
tree666221954041d826e55d82e0af3495d5e077cab2 /doc
parentd05b94544a060e8197bb3f8c2955cd8aedfacfff (diff)
downloadnumpy-f9976c82d33431693b1a1af30549cdb1d7bee4ad.tar.gz
Fix carriage return inside commented python code
This looks more conventionnal
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/arrays.ndarray.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst
index 14bac443d..0f5fb92d7 100644
--- a/doc/source/reference/arrays.ndarray.rst
+++ b/doc/source/reference/arrays.ndarray.rst
@@ -45,8 +45,8 @@ objects implementing the :class:`buffer` or :ref:`array
The array can be indexed using Python container-like syntax:
- >>> x[1,2] # i.e., the element of x in the *second* row, *third*
- column, namely, 6.
+ >>> # The element of x in the *second* row, *third* column, namely, 6.
+ >>> x[1, 2]
For example :ref:`slicing <arrays.indexing>` can produce views of
the array: