mirror of
https://github.com/python/cpython.git
synced 2025-11-13 23:46:24 +00:00
parent
2bbc6974d0
commit
e2645775d1
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ is called the block's \dfn{environment}.
|
||||||
|
|
||||||
If a name is bound in a block, it is a local variable of that block.
|
If a name is bound in a block, it is a local variable of that block.
|
||||||
If a name is bound at the module level, it is a global variable. (The
|
If a name is bound at the module level, it is a global variable. (The
|
||||||
ariables of the module code block are local and global.) If a
|
variables of the module code block are local and global.) If a
|
||||||
variable is used in a code block but not defined there, it is a
|
variable is used in a code block but not defined there, it is a
|
||||||
\dfn{free variable}.
|
\dfn{free variable}.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue