From: Benjamin Peterson Date: Sun, 17 Aug 2008 01:17:15 +0000 (+0000) Subject: a few improvements X-Git-Tag: v2.6b3~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3444c8b598f37bc58bc192c6cead0d19602c2c1;p=thirdparty%2FPython%2Fcpython.git a few improvements --- diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 5e05ea192493..0082287c3386 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()