mirror of https://github.com/python/cpython
gh-116782: Mention `__type_params__` in `inspect.getmembers` docs (#116783)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
8da83f3386
commit
16349868d3
|
@ -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 |
|
||||
+-----------+-------------------+---------------------------+
|
||||
|
|
Loading…
Reference in New Issue