Commits

Romain Guillebert committed 0a0ae7e

Fix translation

  • Participants
  • Parent commits 5a75051
  • Branches numpypy-nditer

Comments (0)

Files changed (1)

File pypy/module/micronumpy/interp_nditer.py

 
     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):