a few improvements

This commit is contained in:
Benjamin Peterson 2008-08-17 01:17:15 +00:00
parent e0d4c7b5bd
commit e3444c8b59

View file

@ -44,7 +44,7 @@ Examining Symbol Tables
Return the table's name. This is the name of the class if the table is 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 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() .. method:: get_lineno()
@ -56,7 +56,7 @@ Examining Symbol Tables
.. method:: is_nested() .. 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() .. method:: has_children()