cpython/Doc/reference
Miss Islington (bot) 0e0a2dadec
[3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088)
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".

---------

(cherry picked from commit 27390990fa)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-10-08 17:58:47 +10:00
..
compound_stmts.rst [3.13] gh-115528: Update language reference for PEP 646 (GH-121181) (#124632) 2024-09-26 13:55:32 -07:00
datamodel.rst [3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088) 2024-10-08 17:58:47 +10:00
executionmodel.rst [3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088) 2024-10-08 17:58:47 +10:00
expressions.rst [3.13] gh-125072: Add label for assignment expressions; update tracked section for assignment expression topic (GH-125074) (#125077) 2024-10-08 02:14:34 +01:00
grammar.rst Docs: Add label to grammar spec for linking from PEPs (#113235) 2023-12-17 12:23:14 -07:00
import.rst [3.13] GH-65961: Document the deprecation of __package__ and __cached__ (GH-124377) (#124380) 2024-09-27 18:53:35 +00:00
index.rst Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:10:24 -07:00
introduction.rst [3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151) 2024-09-24 00:43:04 +00:00
lexical_analysis.rst [3.13] gh-123579: Document exclamation token (GH-123612) (#123637) 2024-09-03 15:07:13 +00:00
simple_stmts.rst [3.13] gh-121355: Fix incorrect word in simple_stmts.rst (GH-121356) (#121362) 2024-07-04 13:53:41 +00:00
toplevel_components.rst GH-97950: Use new-style index directive ('builtin') (#104164) 2023-05-06 06:54:08 +03:00