diff --git a/base/indices.jl b/base/indices.jl index 800280c90f57e..dce053872bd1a 100644 --- a/base/indices.jl +++ b/base/indices.jl @@ -355,7 +355,7 @@ julia> extrema(b) LinearIndices(inds::CartesianIndices) -> R LinearIndices(sz::Dims) -> R - LinearIndices(istart:istop, jstart:jstop, ...) -> R + LinearIndices((istart:istop, jstart:jstop, ...)) -> R Return a `LinearIndices` array with the specified shape or [`axes`](@ref). diff --git a/base/multidimensional.jl b/base/multidimensional.jl index 4677e8649a680..1a78b84c1e6a3 100644 --- a/base/multidimensional.jl +++ b/base/multidimensional.jl @@ -156,7 +156,7 @@ module IteratorsMD # Iteration """ CartesianIndices(sz::Dims) -> R - CartesianIndices(istart:istop, jstart:jstop, ...) -> R + CartesianIndices((istart:istop, jstart:jstop, ...)) -> R Define a region `R` spanning a multidimensional rectangular range of integer indices. These are most commonly encountered in the