PEP 3104: Add footnote to give example#2027
Conversation
While reading PEP 3104 to understand the ``nonlocal`` keyword, I found the explanation for why an alternative was not chosen to be vague. Further digging revealed an example for why there was a concern that ``.x`` and ``x`` could be used interchangeably. I linked this example as a footnote to save future readers time from digging to find an example. I hope this will increase comprehension of the PEP for future learners.
|
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! |
gvanrossum
left a comment
There was a problem hiding this comment.
Thanks! This is a worthy improvement. Even though we normally don't change PEPs after the fact (other than to fix typos or stale links), I am accepting this.
I hope you will still apply for the CLA.
Thank you! Happy to contribute, CLA applied for! |
While reading PEP 3104 to understand the
nonlocalkeyword, I found the explanation for why an alternative was not chosen to be vague. Further digging revealed an example for why there was a concern that.xandxcould be used interchangeably. I linked this example as a footnote to save future readers time from digging to find an example. I hope this will increase comprehension of the PEP for future learners.