bpo-26205: Specify the number of nested scopes (GH-21324)

* Clarify number of scopes

* Indicate 3 or 4

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Joannah Nanjekye 2020-07-05 22:42:24 -03:00 committed by GitHub
parent e51dd9dad6
commit 9ed3cd8ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ accessible. "Directly accessible" here means that an unqualified reference to a
name attempts to find the name in the namespace.
Although scopes are determined statically, they are used dynamically. At any
time during execution, there are at least three nested scopes whose namespaces
are directly accessible:
time during execution, At any time during execution, there are 3 or 4 nested
scopes whose namespaces are directly accessible:
* the innermost scope, which is searched first, contains the local names
* the scopes of any enclosing functions, which are searched starting with the