Author: mattip <[email protected]>
Branch: numpypy-complex2
Changeset: r57310:6ee61649e84f
Date: 2012-09-13 01:54 +0300
http://bitbucket.org/pypy/pypy/changeset/6ee61649e84f/

Log:    fix translation

diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -53,6 +53,7 @@
     specialize.argtype(1)(func)
     @functools.wraps(func)
     def dispatcher(self, v):
+        assert isinstance(v, Primitive)
         return self.RealBoxType(
             func(
                 self,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to