[pypy-commit] pypy default: fix translation
alex_gaynor
noreply at buildbot.pypy.org
Tue Dec 6 22:02:03 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
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)
More information about the pypy-commit
mailing list