mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-27 14:01:15 +00:00
Merge pull request #16 from kzhk75/patch-1
Update scope_resolution_legb_rule.ipynb
This commit is contained in:
commit
c8fd4df339
|
@ -457,7 +457,7 @@
|
|||
"\n",
|
||||
"def a_func():\n",
|
||||
" a_var = 'local value'\n",
|
||||
" print(a_var, '[ a_var inside a_func() ]')\n",
|
||||
" print(a_var, '[ a_var in a_func() ]')\n",
|
||||
"\n",
|
||||
"a_func()\n",
|
||||
"print(a_var, '[ a_var outside a_func() ]')"
|
||||
|
|
Loading…
Reference in New Issue
Block a user