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
Redundand information on Doc/reference/lexical_analysis.rst #75752
Comments
The file Doc/reference/lexical_analysis.rst has at least two redundant parts. The first one is quoted below: This is repeated a couple paragraphs after: Also, this other one: Is literally repeated twice, only that on the first time it has quotes around the - operator: |
I think we can remove
and keep the other one where it says:
About the sentence about numeric literals that appears twice: it appears on different sections of the language reference documentation. It's very likely for a person to only read one section and not the other. I think it's ok to have them in different places like that. |
I believe that the sentence regarding the - operator also applies to Integer literals and Imaginary literals. But it only appears on the Floating point literals and Numeric literals sections. |
Also, "Numeric literals" is a more general section, so rules that apply for the three types of numeric literals should probably go there to avoid repetition. Maybe the Integer, Floating point and Imaginary literal sections should be one section level deeper, so that they are under the Numeric Literal section. |
Is there anything here that requires my attention? |
Guido, in 60f2f0c you added the phrase "Note that numeric literals do not include a sign; ..." in the "Numeric literals" section. Did you mean moving it from the "Floating point literals" section or creating a duplicate? |
That's *really* old. Please clean up as you see fit! On Sep 24, 2017 10:33 PM, "Serhiy Storchaka" <report@bugs.python.org> wrote: Serhiy Storchaka added the comment: Guido, in 60f2f0c you added the phrase ---------- Python tracker <report@bugs.python.org> |
In that case, I believe the PR I've opened should be fine? |
The proposed change seems fine. Merged and backported. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: