Commit c9424548 authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #1637 from MSeifert04/except_pytuple_setitem

Include except clause for PyTuple_SetItem in CPython-Includes
parents 13238f5b 695699d0
......@@ -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