summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-07-17 15:15:15 +0000
committerPauli Virtanen <pav@iki.fi>2010-07-17 15:15:15 +0000
commit6f20d1e7650fbb3ad61855ca5d85dff0aafe2f72 (patch)
tree4b7381747f6219f982a92e706ad39f74d5fa3773 /numpy/random/mtrand
parentaffa70a89ef0f23b1fd98a68c29ab6f5796746fb (diff)
downloadnumpy-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.pxi2
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)