diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-07-17 15:15:15 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-07-17 15:15:15 +0000 |
commit | 6f20d1e7650fbb3ad61855ca5d85dff0aafe2f72 (patch) | |
tree | 4b7381747f6219f982a92e706ad39f74d5fa3773 /numpy/random/mtrand | |
parent | affa70a89ef0f23b1fd98a68c29ab6f5796746fb (diff) | |
download | numpy-6f20d1e7650fbb3ad61855ca5d85dff0aafe2f72.tar.gz |
BUG: core: use PyCapsule objects only on Python >= 3.0, stay with PyCObjects on Python 2.x
Diffstat (limited to 'numpy/random/mtrand')
-rw-r--r-- | numpy/random/mtrand/Python.pxi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/Python.pxi b/numpy/random/mtrand/Python.pxi index 2f7adf096..01d47af50 100644 --- a/numpy/random/mtrand/Python.pxi +++ b/numpy/random/mtrand/Python.pxi @@ -30,7 +30,7 @@ cdef extern from "Python.h": # CObject API # If this is uncommented it needs to be fixed to use PyCapsule -# for Python >= 2.7 +# for Python >= 3.0 # # ctypedef void (*destructor1)(void* cobj) # ctypedef void (*destructor2)(void* cobj, void* desc) |