Skip to content

Commit 1322930

Browse files
committed
Mention tuple converter
1 parent 18e9be6 commit 1322930

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

development-tools/clinic.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,8 +1509,9 @@ For example::
15091509
*args: array
15101510
[clinic start generated code]*/
15111511

1512-
The implementation function will receive var-positional arguments
1513-
as *args* array.
1512+
The implementation function will receive var-positional arguments as C array
1513+
*args* of :c:type:`PyObject * <PyObject>`. Alternatively, you could use
1514+
``tuple`` converter to pass a regular :c:type:`PyTupleObject` as argument.
15141515

15151516
.. versionadded:: 3.11
15161517

0 commit comments

Comments
 (0)