-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Incorrect subchapter title for range object #132452
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
Comments
Are you referring to section from the tutorial: https://docs.python.org/3/tutorial/controlflow.html#the-range-function ? If so, I agree the wording could be cleaned up. Similar changes have been made in the past, e.g. #81611 |
Yes, I mean him. I forgot to leave a link |
in that case can i send a pull request with a fix? if so, won't that break the links to this article? |
Yes, it will. But we can make a phantom section for that if needed using Sphinx labels. There will be two anchors but not necessarily linking to the same exact HTML node. |
There are several classes in stdlib that are documented as functions. Like |
Oh, then maybe it's fine to keep them as is. One could also say that the fact that |
I agree, there should be a solid reason to change this. |
Documentation
The definition of range - function is incorrect. here
In fact, range is a class. Proof
The text was updated successfully, but these errors were encountered: