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

mattip pypy.commits at gmail.com
Sun Aug 12 02:40:31 EDT 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: unicode-utf8-py3
Changeset: r94995:e0e08fb400aa
Date: 2018-08-11 23:37 -0700
http://bitbucket.org/pypy/pypy/changeset/e0e08fb400aa/

Log:	whoops

diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py
--- a/pypy/module/_codecs/interp_codecs.py
+++ b/pypy/module/_codecs/interp_codecs.py
@@ -970,7 +970,7 @@
         errors = 'strict'
     final = space.is_true(w_final)
     state = space.fromcache(CodecState)
-    result, lgt, u_len = unicodehelper.str_decode_raw_unicode_escape(
+    result, u_len, lgt = unicodehelper.str_decode_raw_unicode_escape(
         string, errors, final, state.decode_error_handler)
     return space.newtuple([space.newtext(result), space.newint(lgt)])
 


More information about the pypy-commit mailing list