diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-17 01:17:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-17 01:17:15 (GMT) |
commit | e3444c8b598f37bc58bc192c6cead0d19602c2c1 (patch) | |
tree | 23f69a3559c412114dd3a195dd4cf0d38f22e260 | |
parent | e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5 (diff) | |
download | cpython-e3444c8b598f37bc58bc192c6cead0d19602c2c1.zip cpython-e3444c8b598f37bc58bc192c6cead0d19602c2c1.tar.gz cpython-e3444c8b598f37bc58bc192c6cead0d19602c2c1.tar.bz2 |
a few improvements
-rw-r--r-- | Doc/library/symtable.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 5e05ea1..0082287 100644 --- a/Doc/library/symtable.rst +++ b/Doc/library/symtable.rst @@ -44,7 +44,7 @@ Examining Symbol Tables Return the table's name. This is the name of the class if the table is for a class, the name of the function if the table is for a function, or - ``'top'`` if the table is global (type ``'module'``). + ``'top'`` if the table is global (:meth:`get_type` returns ``'module'``). .. method:: get_lineno() @@ -56,7 +56,7 @@ Examining Symbol Tables .. method:: is_nested() - Return ``True`` if the block is nested in another. + Return ``True`` if the block is a nested class or function. .. method:: has_children() |