Fix return type in doc of PyStructSequence_InitType2.
authorR David Murray <rdmurray@bitdance.com>
Mon, 24 Feb 2014 20:51:57 +0000 (15:51 -0500)
committerR David Murray <rdmurray@bitdance.com>
Mon, 24 Feb 2014 20:51:57 +0000 (15:51 -0500)
Doc/c-api/tuple.rst

index 08767393bc4557e86074d2f053bfb135e884fe71..3922d50f80a2d217bc00f066e753bf413ef341d9 100644 (file)
@@ -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.