diff options
author | Alyssa Coghlan <ncoghlan@gmail.com> | 2024-10-08 17:52:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 07:52:12 +0000 |
commit | 27390990fa9306e2a797a4eb2bd83c5bfc7cb186 (patch) | |
tree | b103ae76df4d6650724f29645053267d75b4ff95 /Lib/test/test_exceptions.py | |
parent | cc9b9bebb2c09c475cb0f278268cce03c115eaea (diff) | |
download | cpython-27390990fa9306e2a797a4eb2bd83c5bfc7cb186.tar.gz cpython-27390990fa9306e2a797a4eb2bd83c5bfc7cb186.zip |
gh-70870: Clarify dual usage of 'free variable' (#122545)
The term "free variable" has unfortunately become genuinely
ambiguous over the years (presumably due to the names of
some relevant code object instance attributes).
While we can't eliminate that ambiguity at this late date, we can
at least alert people to the potential ambiguity by describing
both the formal meaning of the term and the common
alternative use as a direct synonym for "closure variable".
---------
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Diffstat (limited to 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions