Skip to content

Commit

Permalink
MNT: Forgot to add set_traceback.pxd
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldmccarthy committed Nov 14, 2024
1 parent fc57792 commit 4652c6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions indexed_gzip/set_traceback.pxd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Cython declaration for the PyException_SetTraceback function.
# This function is in the Python C API, but is not in the built-in
# Cython declarations.
#

from cpython.ref cimport PyObject

cdef extern from "Python.h":
PyObject* PyException_SetTraceback(PyObject* ex, PyObject* tb)

0 comments on commit 4652c6c

Please sign in to comment.