File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Standard C helper code for Cython modules
1010# http://www.gnu.org/licenses/
1111# *****************************************************************************
1212
13- from cpython.object cimport Py_TYPE, PyTypeObject
13+ from cpython.object cimport Py_TYPE, PyTypeObject, PyObject
1414
1515
1616cdef inline PY_NEW(type t):
@@ -19,7 +19,7 @@ cdef inline PY_NEW(type t):
1919 :class:`Integer` where we change ``tp_new`` at runtime (Cython
2020 optimizations assume that ``tp_new`` doesn't change).
2121 """
22- return (< PyTypeObject* > t).tp_new(t, < object > NULL , < object > NULL )
22+ return (< PyTypeObject* > t).tp_new(t, < PyObject * > NULL , < PyObject * > NULL )
2323
2424
2525cdef inline void PY_SET_TP_NEW(type dst, type src):
You can’t perform that action at this time.
0 commit comments