summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/inspect.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index c4c381b..698a3e9 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -55,6 +55,11 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
| | __module__ | name of module in which |
| | | this class was defined |
+-----------+-------------------+---------------------------+
+| | __type_params__ | A tuple containing the |
+| | | :ref:`type parameters |
+| | | <type-params>` of |
+| | | a generic class |
++-----------+-------------------+---------------------------+
| method | __doc__ | documentation string |
+-----------+-------------------+---------------------------+
| | __name__ | name with which this |
@@ -103,6 +108,11 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
| | | reserved for return |
| | | annotations. |
+-----------+-------------------+---------------------------+
+| | __type_params__ | A tuple containing the |
+| | | :ref:`type parameters |
+| | | <type-params>` of |
+| | | a generic function |
++-----------+-------------------+---------------------------+
| | __module__ | name of module in which |
| | | this function was defined |
+-----------+-------------------+---------------------------+