summaryrefslogtreecommitdiffstats
path: root/Doc/library/symtable.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-26 23:37:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-26 23:37:06 (GMT)
commitf36bebd06f5fde4abff959389e879a4f557cdb42 (patch)
treec4f0d80e873c5ae2cbe386e603b873f94bdc6cd4 /Doc/library/symtable.rst
parentf511fcc7435b2dadd5ff4d0b6d5dd6dbb94d73d4 (diff)
downloadcpython-f36bebd06f5fde4abff959389e879a4f557cdb42.zip
cpython-f36bebd06f5fde4abff959389e879a4f557cdb42.tar.gz
cpython-f36bebd06f5fde4abff959389e879a4f557cdb42.tar.bz2
document is_declared_global()
Diffstat (limited to 'Doc/library/symtable.rst')
-rw-r--r--Doc/library/symtable.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index 9ea3f01..9aafd4e 100644
--- a/Doc/library/symtable.rst
+++ b/Doc/library/symtable.rst
@@ -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.