Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r74270:07bfeead7109
Date: 2014-10-28 13:54 -0700
http://bitbucket.org/pypy/pypy/changeset/07bfeead7109/

Log:    apply dcd221b49852 from upstream: fix backspace

diff --git a/lib_pypy/pyrepl/reader.py b/lib_pypy/pyrepl/reader.py
--- a/lib_pypy/pyrepl/reader.py
+++ b/lib_pypy/pyrepl/reader.py
@@ -54,7 +54,7 @@
         return u[c]
     else:
         if unicodedata.category(c).startswith('C'):
-            return br'\u%04x' % ord(c)
+            return '\u%04x' % ord(c)
         else:
             return c
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to