summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/tuple.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-24 20:51:57 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-24 20:51:57 (GMT)
commit4e4a3134864de2081a62a7a5c0ac765de472a2e5 (patch)
treeedde420e4b86d3605e324a636a847223d941f6e5 /Doc/c-api/tuple.rst
parentb1f65569bd2c1747739f8b4b9f11b41bc13b1282 (diff)
downloadcpython-4e4a3134864de2081a62a7a5c0ac765de472a2e5.zip
cpython-4e4a3134864de2081a62a7a5c0ac765de472a2e5.tar.gz
cpython-4e4a3134864de2081a62a7a5c0ac765de472a2e5.tar.bz2
Fix return type in doc of PyStructSequence_InitType2.
Diffstat (limited to 'Doc/c-api/tuple.rst')
-rw-r--r--Doc/c-api/tuple.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst
index 0876739..3922d50 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.