From 549f0b95d0e59a4a806cc12162cafc0ca38c1594 Mon Sep 17 00:00:00 2001 From: Joannah Nanjekye Date: Sun, 5 Jul 2020 02:26:29 +0000 Subject: [PATCH 1/2] Clarify number of scopes --- Doc/tutorial/classes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 06bdd0d93515ed..be902c15ce8bcd 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 various 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 From 54ab7a6a76023d1073dfc308db5c8ff1f49251bb Mon Sep 17 00:00:00 2001 From: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Date: Sun, 5 Jul 2020 21:57:52 -0300 Subject: [PATCH 2/2] Indicate 3 or 4 Co-authored-by: Terry Jan Reedy --- Doc/tutorial/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index be902c15ce8bcd..250d2a9ddb416b 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -114,7 +114,7 @@ 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, At any time during execution, there are various nested +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