Skip to content

Commit 7ceb3e3

Browse files
bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21342)
* 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> (cherry picked from commit 9ed3cd8) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
1 parent 8912c18 commit 7ceb3e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/classes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ accessible. "Directly accessible" here means that an unqualified reference to a
114114
name attempts to find the name in the namespace.
115115

116116
Although scopes are determined statically, they are used dynamically. At any
117-
time during execution, there are at least three nested scopes whose namespaces
118-
are directly accessible:
117+
time during execution, At any time during execution, there are 3 or 4 nested
118+
scopes whose namespaces are directly accessible:
119119

120120
* the innermost scope, which is searched first, contains the local names
121121
* the scopes of any enclosing functions, which are searched starting with the

0 commit comments

Comments
 (0)