projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f6556
)
Fix return type in doc of PyStructSequence_InitType2.
author
R David Murray
<rdmurray@bitdance.com>
Mon, 24 Feb 2014 20:51:57 +0000
(15:51 -0500)
committer
R David Murray
<rdmurray@bitdance.com>
Mon, 24 Feb 2014 20:51:57 +0000
(15:51 -0500)
Doc/c-api/tuple.rst
patch
|
blob
|
history
diff --git
a/Doc/c-api/tuple.rst
b/Doc/c-api/tuple.rst
index 08767393bc4557e86074d2f053bfb135e884fe71..3922d50f80a2d217bc00f066e753bf413ef341d9 100644
(file)
--- 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.