Skip to content

Commit e36f62b

Browse files
authored
Merge pull request fbaptiste#10 from WillieMaddox/patch-1
Update 02 - Nonlocal Scopes.ipynb
2 parents 2b32488 + e285ba1 commit e36f62b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Part 1/Section 07 - Scopes, Closures and Decorators/02 - Nonlocal Scopes.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@
344344
" def inner2():\n",
345345
" global x # refers to x in global scope\n",
346346
" x = 'hello'\n",
347-
" print('inner1 (before):', x)\n",
348-
" inner2()\n",
347+
" print('inner1 (before):', x)\n",
348+
" inner2()\n",
349349
" print('inner1 (after):', x)\n",
350350
" inner1()\n",
351351
" print('outer', x) "

0 commit comments

Comments
 (0)