Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve range: refactor, support start as an optional kwarg, clearer docs and error messages #38041

Merged
merged 20 commits into from
Jan 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix spelling
  • Loading branch information
jw3126 committed Jan 7, 2021
commit 6a0e25ebd2e1aa11e52e3ed9a607bc64feec5998
2 changes: 1 addition & 1 deletion base/range.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Mathematically a range is uniquely determined by any three of `start`, `step`, `
Valid invocations of range are:
* Call `range` with any three of `start`, `step`, `stop`, `length`.
* Call `range` with two of `start`, `stop`, `length`. In this case `step` will be assumed
to be one. If all arguments are integers, a [`UnitRange`](@ref) will be returned.
to be one. If all arguments are Integers, a [`UnitRange`](@ref) will be returned.

# Examples
```jldoctest
Expand Down