[pypy-commit] pypy py3.6: fix translation
cfbolz
pypy.commits at gmail.com
Sat Sep 7 03:51:23 EDT 2019
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.6
Changeset: r97390:02699fce1da0
Date: 2019-09-07 09:50 +0200
http://bitbucket.org/pypy/pypy/changeset/02699fce1da0/
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
@@ -353,7 +353,7 @@
if not space.is_w(self.w_path, space.w_None):
space.setitem(w_dict, space.newtext("path"), self.w_path)
if space.is_true(w_dict):
- lst.append(w_dict)
+ lst = [lst[0], lst[1], w_dict]
return space.newtuple(lst)
def descr_setstate(self, space, w_dict):
More information about the pypy-commit
mailing list