Kaydet (Commit) 4e4a3134 authored tarafından R David Murray's avatar R David Murray

Fix return type in doc of PyStructSequence_InitType2.

üst b1f65569
...@@ -129,7 +129,7 @@ type. ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment