mirror of
https://github.com/rasbt/python_reference.git
synced 2025-03-21 21:19:53 +00:00
fixed for-loop example
This commit is contained in:
parent
13046927a3
commit
bea168e07b
@ -503,8 +503,8 @@
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"print(global()) # prints global namespace\n",
|
||||
"print(local()) # prints local namespace"
|
||||
"print(globals()) # prints global namespace\n",
|
||||
"print(locals()) # prints local namespace"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user