summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2015-05-30 17:59:17 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2015-05-30 17:59:17 (GMT)
commit82a94186c892df91e54556d9d41573ab1bcc0620 (patch)
treeb177a1c4f0423abdd43a45012ae6f5170a70d590
parent67fb92e8c690ccb0d3a557affcc6b46c13cb94b0 (diff)
parent582b8c7629cda2bd8b0b445ea3a896a0aaea78eb (diff)
downloadcpython-82a94186c892df91e54556d9d41573ab1bcc0620.zip
cpython-82a94186c892df91e54556d9d41573ab1bcc0620.tar.gz
cpython-82a94186c892df91e54556d9d41573ab1bcc0620.tar.bz2
merge
-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 2eefcf2..98b7cb7 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` |
@@ -174,6 +183,8 @@ attributes:
| | __name__ | original name of this |
| | | function or method |
+-----------+-----------------+---------------------------+
+| | __qualname__ | qualified name |
++-----------+-----------------+---------------------------+
| | __self__ | instance to which a |
| | | method is bound, or |
| | | ``None`` |