diff --git a/pyopencl/cffi_cl.py b/pyopencl/cffi_cl.py index e5a724ba0bfa88df31f3ed5fd307e7a200cb7852..1d8b4d7f124ff1614bf2e211f6f037d6ac0e126d 100644 --- a/pyopencl/cffi_cl.py +++ b/pyopencl/cffi_cl.py @@ -843,7 +843,7 @@ if _PYPY: raise LogicError("PyOpencl on PyPy only accepts numpy arrays " "and scalars arguments", status_code.INVALID_VALUE) -elif sys.version_info >= (2, 7): +elif sys.version_info >= (2, 7, 4): import ctypes try: # Python 2.6 doesn't have this.