mirror of
https://github.com/python/cpython.git
synced 2025-11-15 00:00:00 +00:00
Fix return type in doc of PyStructSequence_InitType2.
This commit is contained in:
parent
b1f65569bd
commit
4e4a313486
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue