Kaydet (Commit) 03395687 authored tarafından Yury Selivanov's avatar Yury Selivanov

Issue 22357: Document __qualname__ in inspect.rst

üst f28fa663
...@@ -43,6 +43,11 @@ attributes: ...@@ -43,6 +43,11 @@ attributes:
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
| class | __doc__ | documentation string | | class | __doc__ | documentation string |
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
| | __name__ | name with which this |
| | | class was defined |
+-----------+-----------------+---------------------------+
| | __qualname__ | qualified name |
+-----------+-----------------+---------------------------+
| | __module__ | name of module in which | | | __module__ | name of module in which |
| | | this class was defined | | | | this class was defined |
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
...@@ -51,6 +56,8 @@ attributes: ...@@ -51,6 +56,8 @@ attributes:
| | __name__ | name with which this | | | __name__ | name with which this |
| | | method was defined | | | | method was defined |
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
| | __qualname__ | qualified name |
+-----------+-----------------+---------------------------+
| | __func__ | function object | | | __func__ | function object |
| | | containing implementation | | | | containing implementation |
| | | of method | | | | of method |
...@@ -64,6 +71,8 @@ attributes: ...@@ -64,6 +71,8 @@ attributes:
| | __name__ | name with which this | | | __name__ | name with which this |
| | | function was defined | | | | function was defined |
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
| | __qualname__ | qualified name |
+-----------+-----------------+---------------------------+
| | __code__ | code object containing | | | __code__ | code object containing |
| | | compiled function | | | | compiled function |
| | | :term:`bytecode` | | | | :term:`bytecode` |
...@@ -164,6 +173,8 @@ attributes: ...@@ -164,6 +173,8 @@ attributes:
| | __name__ | original name of this | | | __name__ | original name of this |
| | | function or method | | | | function or method |
+-----------+-----------------+---------------------------+ +-----------+-----------------+---------------------------+
| | __qualname__ | qualified name |
+-----------+-----------------+---------------------------+
| | __self__ | instance to which a | | | __self__ | instance to which a |
| | | method is bound, or | | | | method is bound, or |
| | | ``None`` | | | | ``None`` |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment