[3.12] gh-56374: Clarify documentation of nonlocal (GH-116942) (#117023)
Define 'nonlocal scopes' in a way that excludes class scopes. Rearrange the rest of the doc. Add "Programmer's note". (cherry picked from commit 025ef7a5f7b424fba8713e448244b952bf897df3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
M
Miss Islington (bot) committed
05b2b30436590cbc9f31120e74ccbea4c4466e9a
Parent: 1684f7e
Committed by GitHub <noreply@github.com>
on 3/19/2024, 6:05:27 PM