Skip to content

Commit cdeb03f

Browse files
author
cxzhong
committed
Add missing Py_REFCNT import for Cython compilation
1 parent 03e83b8 commit cdeb03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cysignals/signals.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ See ``tests.pyx`` for extensive tests.
2525

2626
from libc.signal cimport *
2727
from libc.stdio cimport freopen, stdin
28-
from cpython.ref cimport Py_XINCREF, Py_CLEAR
28+
from cpython.ref cimport Py_XINCREF, Py_CLEAR, Py_REFCNT
2929
from cpython.exc cimport (PyErr_Occurred, PyErr_NormalizeException,
3030
PyErr_Fetch, PyErr_Restore)
3131
from cpython.version cimport PY_MAJOR_VERSION

0 commit comments

Comments
 (0)