mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
document is_declared_global()
This commit is contained in:
parent
f511fcc743
commit
f36bebd06f
1 changed files with 4 additions and 0 deletions
|
@ -144,6 +144,10 @@ Examining Symbol Tables
|
|||
|
||||
Return ``True`` if the symbol is global.
|
||||
|
||||
.. method:: is_declared_global()
|
||||
|
||||
Return ``True`` if the symbol is declared global with a global statement.
|
||||
|
||||
.. method:: is_local()
|
||||
|
||||
Return ``True`` if the symbol is local to its block.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue