-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Follow PEP-8 guidelines in tutorial for standard library #25288
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
Conversation
According to PEP-8, "Arguments on first line forbidden when not using vertical alignment."
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
I have added my GitHub login name to my b.p.o. profile (though I'm not sure why it bumped me to the password confirmation field after submitting the change). I have also signed the CLA, but maybe the bots haven't caught up with each other. |
Some questions:
|
Hi @bkline, Thanks for submitting the PR and signing the CLA. I'm going to close this PR instead of merging. A change for PEP-8 is not needed in this particular case since the change adds an extra assignment that is not necessary in this particular case. In general, adding an extra statement as suggested here is unneeded for
|
I would appreciate answers to the questions I asked above on April 9. Thanks! |
Replacement PR: #26127 |
Hey @bkline, I'm sorry that your questions here weren't answered, and that your PR lingered for so long. Here are some belated answers:
|
According to PEP-8, "Arguments on first line forbidden when not using vertical alignment."
No ticket created in b.p.o., as this is a trivial documentation change.
My understanding from reading other tickets related to PEP-8 compliance in the documentation (for example, https://bugs.python.org/issue26030) is that PRs should be submitted as users come across violations of the PEP. If my understanding is wrong, please let me know.