summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/tuple.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst
index 0876739..3922d50 100644
--- a/Doc/c-api/tuple.rst
+++ b/Doc/c-api/tuple.rst
@@ -129,7 +129,7 @@ type.
Initializes a struct sequence type *type* from *desc* in place.
-.. c:function:: void PyStructSequence_InitType2(PyTypeObject *type, PyStructSequence_Desc *desc)
+.. c:function:: int PyStructSequence_InitType2(PyTypeObject *type, PyStructSequence_Desc *desc)
The same as ``PyStructSequence_InitType``, but returns ``0`` on success and ``-1`` on
failure.