From: R David Murray Date: Mon, 24 Feb 2014 20:51:57 +0000 (-0500) Subject: Fix return type in doc of PyStructSequence_InitType2. X-Git-Tag: v3.4.1rc1~233^2~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e4a3134864de2081a62a7a5c0ac765de472a2e5;p=thirdparty%2FPython%2Fcpython.git Fix return type in doc of PyStructSequence_InitType2. --- diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst index 08767393bc45..3922d50f80a2 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.