Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions pep-3104.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,10 @@ in an outer scope when using the variable in an expression. One
syntax that has been suggested for this is ``.x`` [7]_, which would
refer to ``x`` without creating a local binding for it. A concern
with this proposal is that in many contexts ``x`` and ``.x`` could
be used interchangeably, which would confuse the reader. A closely
related idea is to use multiple dots to specify the number of scope
levels to ascend [8]_, but most consider this too error-prone [17]_.
be used interchangeably, which would confuse the reader [31]_. A
closely related idea is to use multiple dots to specify the number
of scope levels to ascend [8]_, but most consider this too error-prone
[17]_.

Rebinding Operator
''''''''''''''''''
Expand Down Expand Up @@ -528,6 +529,9 @@ References

.. [30] Whatever happened to 'nonlocal x = y'? (Guido van Rossum)
https://mail.python.org/pipermail/python-dev/2018-January/151627.html

.. [31] Using and binding relative names (Almann T. Goo)
https://mail.python.org/pipermail/python-dev/2006-February/061761.html


Acknowledgements
Expand Down