[pypy-commit] pypy py3.6: fix translation

rlamy pypy.commits at gmail.com
Sun Jul 14 04:51:31 EDT 2019


Author: Ronan Lamy <ronan.lamy at gmail.com>
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)
 
 


More information about the pypy-commit mailing list