Fix return type in doc of PyStructSequence_InitType2.

This commit is contained in:
R David Murray 2014-02-24 15:51:57 -05:00
parent b1f65569bd
commit 4e4a313486
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ type.
Initializes a struct sequence type *type* from *desc* in place. 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 The same as ``PyStructSequence_InitType``, but returns ``0`` on success and ``-1`` on
failure. failure.