Skip to content

Commit 4e4a313

Browse files
committed
Fix return type in doc of PyStructSequence_InitType2.
1 parent b1f6556 commit 4e4a313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/tuple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ type.
129129
Initializes a struct sequence type *type* from *desc* in place.
130130
131131
132-
.. c:function:: void PyStructSequence_InitType2(PyTypeObject *type, PyStructSequence_Desc *desc)
132+
.. c:function:: int PyStructSequence_InitType2(PyTypeObject *type, PyStructSequence_Desc *desc)
133133
134134
The same as ``PyStructSequence_InitType``, but returns ``0`` on success and ``-1`` on
135135
failure.

0 commit comments

Comments
 (0)