diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 0d1cd69d1b286c3fcb9605d3c83f8de6d6936d08..376ae9ecd5f6d6399485150b8827f0f44a4ba87a 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -51,7 +51,7 @@ import inspect as _inspect CONSTANT_CLASSES = [ getattr(_cl, name) for name in dir(_cl) if _inspect.isclass(getattr(_cl, name)) - and name[0].islower()] + and name[0].islower() and name not in ["zip", "map", "range"]] class CompilerWarning(UserWarning):