]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 22357: Document __qualname__ in inspect.rst
authorYury Selivanov <yselivanov@sprymix.com>
Sat, 30 May 2015 17:53:49 +0000 (13:53 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Sat, 30 May 2015 17:53:49 +0000 (13:53 -0400)
Doc/library/inspect.rst

index a6b5e801294dedb295c68821362986049d756c8f..57eb4fff82ab4ebe8c69c884749682d3be51dbb5 100644 (file)
@@ -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``                  |