Skip to content

Commit

Permalink
Fix getindex wording
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Sep 22, 2016
1 parent a419a3d commit 4f09334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ pointer{T}(x::AbstractArray{T}, i::Integer) = (@_inline_meta; unsafe_convert(Ptr
"""
getindex(A, inds...)
Returns a subset of array `A` as specified by `inds`, where each `ind` may be an
Return a subset of array `A` as specified by `inds`, where each `ind` may be an
`Int`, a `Range`, or a `Vector`. See the manual section on
[array indexing](:ref:`array indexing <man-array-indexing>`) for details.
Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ Indexing, Assignment, and Concatenation

.. Docstring generated from Julia source
Returns a subset of array ``A`` as specified by ``inds``\ , where each ``ind`` may be an ``Int``\ , a ``Range``\ , or a ``Vector``\ . See the manual section on :ref:`array indexing <man-array-indexing>` for details.
Return a subset of array ``A`` as specified by ``inds``\ , where each ``ind`` may be an ``Int``\ , a ``Range``\ , or a ``Vector``\ . See the manual section on :ref:`array indexing <man-array-indexing>` for details.

.. doctest::

Expand Down

0 comments on commit 4f09334

Please sign in to comment.