[pypy-commit] pypy unicode-utf8-py3: whoops

mattip pypy.commits at gmail.com
Sun Aug 12 17:16:17 EDT 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: unicode-utf8-py3
Changeset: r95001:de720af40556
Date: 2018-08-12 14:14 -0700
http://bitbucket.org/pypy/pypy/changeset/de720af40556/

Log:	whoops

diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py
--- a/pypy/interpreter/astcompiler/fstring.py
+++ b/pypy/interpreter/astcompiler/fstring.py
@@ -264,7 +264,7 @@
     if not fstr.raw_mode and '\\' in literal:
         literal = parsestring.decode_unicode_utf8(space, literal, 0,
                                                   len(literal))
-        literal, pos, lgt = unicodehelper.decode_unicode_escape(space, literal)
+        literal, lgt, pos = unicodehelper.decode_unicode_escape(space, literal)
     return space.newtext(literal, lgt)
 
 


More information about the pypy-commit mailing list