-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Updated the documentation for Range function #34467
Conversation
@@ -1408,3 +1408,4 @@ print-%: | |||
# Literal values that are hard to use in Makefiles otherwise: | |||
COMMA:=, | |||
SPACE:=$(eval) $(eval) | |||
USE_BINARYBUILDER_LLVM=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of changes required.
If `step` and `stop` are provided and `length` is not, the overall range length will be computed | ||
automatically such that the elements are `step` spaced (a [`StepRange`](@ref)). | ||
In case the elements are not simple numeric, elements are spaced using (a [`LinRange`](@ref)) | ||
# Example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last sentence should probably be finished with a period, and also the brackets look strange. Between the main docstring and the # Example
header you could also introduce an empty line, though I'm not sure that makes a difference in the end.
Co-Authored-By: Stefan Karpinski <[email protected]>
#34475 created a new PR |
@kamalojasv181, in the future, please don't create multiple PRs for the same issue. Just update your existing PR. |
Closes #33798