From b145519291b6b4ee3c82e37ec336cf2d65cfe9fa Mon Sep 17 00:00:00 2001 From: kzhk75 Date: Thu, 23 Oct 2014 23:43:47 +0100 Subject: [PATCH] Update scope_resolution_legb_rule.ipynb To match the above and following sentences. --- tutorials/scope_resolution_legb_rule.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/scope_resolution_legb_rule.ipynb b/tutorials/scope_resolution_legb_rule.ipynb index 143e8ba..93f01a2 100644 --- a/tutorials/scope_resolution_legb_rule.ipynb +++ b/tutorials/scope_resolution_legb_rule.ipynb @@ -416,7 +416,7 @@ "global value [ a_var outside a_func() ]\n", "\n", "**c)** \n", - "
global value [ a_var in a_func() ]  \n",
+      "
global value [ a_var inside a_func() ]  \n",
       "global value [ a_var outside a_func() ]
\n", "\n", "\n" @@ -457,7 +457,7 @@ "\n", "def a_func():\n", " a_var = 'local value'\n", - " print(a_var, '[ a_var in a_func() ]')\n", + " print(a_var, '[ a_var inside a_func() ]')\n", "\n", "a_func()\n", "print(a_var, '[ a_var outside a_func() ]')" @@ -475,11 +475,11 @@ "
raises an error
\n", "\n", "**b)** \n", - "
local value [ a_var in a_func() ]\n",
+      "
local value [ a_var inside a_func() ]\n",
       "global value [ a_var outside a_func() ]
\n", "\n", "**c)** \n", - "
global value [ a_var in a_func() ]  \n",
+      "
global value [ a_var inside a_func() ]  \n",
       "global value [ a_var outside a_func() ]
\n" ] },