diff --git a/pyopencl/array.py b/pyopencl/array.py index fee714548247cd969ae56ac495df95a7eee1dffe..56ff13c2c2091b89f727c9610e9f6ed3e4639a44 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -148,7 +148,6 @@ def elwise_kernel_runner(kernel_getter): Assumes that the zeroth entry in *args* is an :class:`Array`. """ - # (Note that the 'return a function' bit is done by @decorator.) def kernel_runner(*args, **kwargs): repr_ary = args[0] @@ -1201,7 +1200,7 @@ class Array(object): "multidimensional fancy indexing is not supported") if len(self.shape) != 1: raise NotImplementedError( - "fancy indexing into a multi-d array is supported") + "fancy indexing into a multi-d array is not supported") return take(self, index)