Author: Richard Plangger <[email protected]>
Branch: py3.5
Changeset: r87689:4c664c7fdba2
Date: 2016-10-10 11:54 +0200
http://bitbucket.org/pypy/pypy/changeset/4c664c7fdba2/

Log:    turn string format into argument of oefmt (translation issue)

diff --git a/pypy/module/_collections/interp_deque.py 
b/pypy/module/_collections/interp_deque.py
--- a/pypy/module/_collections/interp_deque.py
+++ b/pypy/module/_collections/interp_deque.py
@@ -378,7 +378,7 @@
                 return space.wrap(i)
 
         x = space.repr(w_x)
-        raise oefmt(self.space.w_ValueError, "%s is not in deque" % x)
+        raise oefmt(self.space.w_ValueError, "%s is not in deque", x)
 
     def reviter(self):
         "Return a reverse iterator over the deque."
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to