Author: Romain Guillebert <[email protected]>
Branch: numpypy-nditer
Changeset: r64876:0a0ae7e99b40
Date: 2013-06-13 20:35 +0200
http://bitbucket.org/pypy/pypy/changeset/0a0ae7e99b40/
Log: Fix translation
diff --git a/pypy/module/micronumpy/interp_nditer.py
b/pypy/module/micronumpy/interp_nditer.py
--- a/pypy/module/micronumpy/interp_nditer.py
+++ b/pypy/module/micronumpy/interp_nditer.py
@@ -369,7 +369,7 @@
def descr_get_index(self, space):
if self.tracked_index == "":
- raise OperationError(space.w_ValueError, "Iterator does not have
an index")
+ raise OperationError(space.w_ValueError, space.wrap("Iterator does
not have an index"))
return space.wrap(self.index_iter.getvalue())
def descr_get_has_multi_index(self, space):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit