mirror of https://github.com/python/cpython
a few improvements
This commit is contained in:
parent
e0d4c7b5bd
commit
e3444c8b59
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue