Author: Alex Gaynor <[email protected]>
Branch: numpy-dtype-refactor-complex
Changeset: r50178:22862d325dba
Date: 2011-12-05 13:57 -0500
http://bitbucket.org/pypy/pypy/changeset/22862d325dba/
Log: fix, make this numpypy
diff --git a/pypy/module/micronumpy/interp_boxes.py
b/pypy/module/micronumpy/interp_boxes.py
--- a/pypy/module/micronumpy/interp_boxes.py
+++ b/pypy/module/micronumpy/interp_boxes.py
@@ -294,9 +294,9 @@
)
W_ComplexFloatingBox.typedef = TypeDef("complexfloating", W_InexactBox.typedef,
- __module__ = "numpy",
+ __module__ = "numpypy",
)
W_Complex128Box.typedef = TypeDef("complex128", (W_ComplexFloatingBox.typedef,
complex_typedef),
- __module__ = "numpy",
-)
\ No newline at end of file
+ __module__ = "numpypy",
+)
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
@@ -462,4 +462,4 @@
@raw_unary_op
def imag(self, (real, imag)):
- return self.imag_type.box(imag)
\ No newline at end of file
+ return self.imag_type.box(imag)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit