Author: Alex Gaynor <[email protected]>
Branch: numpy-exp
Changeset: r44220:a4794f95cae3
Date: 2011-05-16 16:15 -0500
http://bitbucket.org/pypy/pypy/changeset/a4794f95cae3/

Log:    Un-confuse the annotator.

diff --git a/pypy/module/micronumpy/interp_numarray.py 
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -53,23 +53,23 @@
         def impl(self, space, w_other):
             new_sig = self.signature.transition(signature)
             if isinstance(w_other, BaseArray):
-                res = space.wrap(Call2(
+                res = Call2(
                     function,
                     self,
                     w_other,
                     new_sig.transition(w_other.signature)
-                ))
+                )
                 w_other.invalidates.append(res)
             else:
                 w_other = FloatWrapper(space.float_w(w_other))
-                res = space.wrap(Call2(
+                res = Call2(
                     function,
                     self,
                     w_other,
                     new_sig.transition(w_other.signature)
-                ))
+                )
             self.invalidates.append(res)
-            return res
+            return space.wrap(res)
         return func_with_new_name(impl, "binop_%s_impl" % function.__name__)
 
     descr_add = _binop_impl(add)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to