Commit 695699d0 authored by Michael Seifert's avatar Michael Seifert

Include except clause for PyTuple_SetItem in CPython-Includes

parent 13238f5b
......@@ -45,7 +45,7 @@ cdef extern from "Python.h":
# Return value: New reference.
# Take a slice of the tuple pointed to by p from low to high and return it as a new tuple.
int PyTuple_SetItem(object p, Py_ssize_t pos, object o)
int PyTuple_SetItem(object p, Py_ssize_t pos, object o) except -1
# Insert a reference to object o at position pos of the tuple
# pointed to by p. Return 0 on success. Note: This function
# ``steals'' a reference to o.
......
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