From eae8eef219de787edf6bb71155fdfba3652ec50c Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 7 Jul 2013 18:25:16 -0400
Subject: [PATCH] Minor error/comment update

---
 pyopencl/array.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pyopencl/array.py b/pyopencl/array.py
index fee71454..56ff13c2 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)
 
-- 
GitLab