gh-116782: Mention __type_params__ in inspect.getmembers docs (#116783)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -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 |
|
||||
+-----------+-------------------+---------------------------+
|
||||
|
||||
Reference in New Issue
Block a user