Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r50227:4d94de61c725
Date: 2011-12-06 16:01 -0500
http://bitbucket.org/pypy/pypy/changeset/4d94de61c725/
Log: fix translation
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
@@ -852,7 +852,7 @@
if len(args_w) == 1:
w_shape = args_w[0]
else:
- w_shape = space.newlist(args_w)
+ w_shape = space.newtuple(args_w)
concrete = self.get_concrete()
new_shape = get_shape_from_iterable(space,
concrete.find_size(), w_shape)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit