]> granicus.if.org Git - python/commitdiff
document is_declared_global()
authorBenjamin Peterson <benjamin@python.org>
Fri, 26 Jun 2009 23:37:06 +0000 (23:37 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 26 Jun 2009 23:37:06 +0000 (23:37 +0000)
Doc/library/symtable.rst

index 9ea3f01b40799dc64e29fc5045a4b26ba0e25c61..9aafd4e13cb9209d97188d92caa25f7682c9f882 100644 (file)
@@ -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.