diff options
author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | 2020-07-06 01:42:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 01:42:24 (GMT) |
commit | 9ed3cd8ba052b395ab50692bb65988b065d68e27 (patch) | |
tree | 01faf2e80235b7851c7c2dde05381dd19ab3205d /Doc/tutorial | |
parent | e51dd9dad6590bf3a940723fbbaaf4f64a3c9228 (diff) | |
download | cpython-9ed3cd8ba052b395ab50692bb65988b065d68e27.zip cpython-9ed3cd8ba052b395ab50692bb65988b065d68e27.tar.gz cpython-9ed3cd8ba052b395ab50692bb65988b065d68e27.tar.bz2 |
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>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 06bdd0d..250d2a9 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -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 |