Author: Ronan Lamy <[email protected]>
Branch: py3.6
Changeset: r96987:1131d56115b8
Date: 2019-07-14 10:48 +0200
http://bitbucket.org/pypy/pypy/changeset/1131d56115b8/
Log: fix translation
diff --git a/pypy/module/exceptions/interp_exceptions.py
b/pypy/module/exceptions/interp_exceptions.py
--- a/pypy/module/exceptions/interp_exceptions.py
+++ b/pypy/module/exceptions/interp_exceptions.py
@@ -333,10 +333,8 @@
if keyword in kw_w:
raise oefmt(
space.w_TypeError,
- "'%s' is an invalid keyword argument for this
function" % (
- keyword
- )
- )
+ "'%s' is an invalid keyword argument for this
function",
+ keyword)
W_Exception.descr_init(self, space, args_w)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit