summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorargriffing <argriffing@users.noreply.github.com>2015-12-26 13:57:08 -0500
committerargriffing <argriffing@users.noreply.github.com>2015-12-26 13:57:08 -0500
commitc9a83043c0669fd17306843eb21abd236b675537 (patch)
tree8af448568424e841f77dd0c82e22a133d9ea6f27
parent76f2870e2f9c821b704ead165e13e173282f0aa9 (diff)
parentf9976c82d33431693b1a1af30549cdb1d7bee4ad (diff)
downloadnumpy-c9a83043c0669fd17306843eb21abd236b675537.tar.gz
Merge pull request #6888 from vincent-legoll/master
Fix carriage return inside commented python code
-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: