diff options
Diffstat (limited to 'numpy/random/mtrand')
-rw-r--r-- | numpy/random/mtrand/Python.pxi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/random/mtrand/Python.pxi b/numpy/random/mtrand/Python.pxi index 4628be93d..2f7adf096 100644 --- a/numpy/random/mtrand/Python.pxi +++ b/numpy/random/mtrand/Python.pxi @@ -29,6 +29,9 @@ cdef extern from "Python.h": void Py_XINCREF(object obj) # CObject API +# If this is uncommented it needs to be fixed to use PyCapsule +# for Python >= 2.7 +# # ctypedef void (*destructor1)(void* cobj) # ctypedef void (*destructor2)(void* cobj, void* desc) # int PyCObject_Check(object p) |