Skip to content

Commit

Permalink
Extern instead of noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Nov 2, 2023
1 parent 592a424 commit 0636f84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions line_profiler/_line_profiler.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,8 @@ cdef class LineProfiler:

@cython.boundscheck(False)
@cython.wraparound(False)
@cython.exceptval(check=False)
cdef int python_trace_callback(object self_, PyFrameObject *py_frame, int what,
PyObject *arg):
cdef extern int python_trace_callback(object self_, PyFrameObject *py_frame,
int what, PyObject *arg):
"""
The PyEval_SetTrace() callback.
Expand Down

0 comments on commit 0636f84

Please sign in to comment.