We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PyTupleObject*
1 parent 9b73bd4 commit ab665d9Copy full SHA for ab665d9
Doc/c-api/typehints.rst
@@ -15,7 +15,7 @@ two types exist -- :ref:`GenericAlias <types-genericalias>` and
15
Equivalent to calling the Python class
16
:class:`types.GenericAlias`. The *origin* and *args* arguments set the
17
``GenericAlias``\ 's ``__origin__`` and ``__args__`` attributes respectively.
18
- *origin* should be a :c:expr:`PyTypeObject*`, and *args* can be a
+ *origin* should be a :c:type:`PyTypeObject*`, and *args* can be a
19
:c:expr:`PyTupleObject*` or any ``PyObject*``. If *args* passed is
20
not a tuple, a 1-tuple is automatically constructed and ``__args__`` is set
21
to ``(args,)``.
0 commit comments