summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-30 17:53:49 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-30 17:53:49 (GMT)
commit03395687532243d3aae9b7a56a344080dcb959a4 (patch)
tree14575246c919c20debe51140644636e94c86cfc9 /Doc
parentf28fa66351fe93b3fcdc98c7f35f05573ea93df2 (diff)
downloadcpython-03395687532243d3aae9b7a56a344080dcb959a4.zip
cpython-03395687532243d3aae9b7a56a344080dcb959a4.tar.gz
cpython-03395687532243d3aae9b7a56a344080dcb959a4.tar.bz2
Issue 22357: Document __qualname__ in inspect.rst
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/inspect.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index a6b5e80..57eb4ff 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -43,6 +43,11 @@ attributes:
+-----------+-----------------+---------------------------+
| class | __doc__ | documentation string |
+-----------+-----------------+---------------------------+
+| | __name__ | name with which this |
+| | | class was defined |
++-----------+-----------------+---------------------------+
+| | __qualname__ | qualified name |
++-----------+-----------------+---------------------------+
| | __module__ | name of module in which |
| | | this class was defined |
+-----------+-----------------+---------------------------+
@@ -51,6 +56,8 @@ attributes:
| | __name__ | name with which this |
| | | method was defined |
+-----------+-----------------+---------------------------+
+| | __qualname__ | qualified name |
++-----------+-----------------+---------------------------+
| | __func__ | function object |
| | | containing implementation |
| | | of method |
@@ -64,6 +71,8 @@ attributes:
| | __name__ | name with which this |
| | | function was defined |
+-----------+-----------------+---------------------------+
+| | __qualname__ | qualified name |
++-----------+-----------------+---------------------------+
| | __code__ | code object containing |
| | | compiled function |
| | | :term:`bytecode` |
@@ -164,6 +173,8 @@ attributes:
| | __name__ | original name of this |
| | | function or method |
+-----------+-----------------+---------------------------+
+| | __qualname__ | qualified name |
++-----------+-----------------+---------------------------+
| | __self__ | instance to which a |
| | | method is bound, or |
| | | ``None`` |