Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: unicode-utf8
Changeset: r93395:b128150d928f
Date: 2017-12-12 19:51 +0100
http://bitbucket.org/pypy/pypy/changeset/b128150d928f/
Log: fix translation
diff --git a/pypy/interpreter/unicodehelper.py
b/pypy/interpreter/unicodehelper.py
--- a/pypy/interpreter/unicodehelper.py
+++ b/pypy/interpreter/unicodehelper.py
@@ -356,7 +356,7 @@
builder.append(res)
else:
try:
- chr = r_uint(int(s[pos:pos + digits], 16))
+ chr = int(s[pos:pos + digits], 16)
except ValueError:
endinpos = pos
while s[endinpos] in hexdigits:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit