[pypy-commit] pyrepl py3k-readline: fix backspace
pjenvey
noreply at buildbot.pypy.org
Tue Oct 28 21:53:10 CET 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k-readline
Changeset: r259:dcd221b49852
Date: 2014-10-28 13:53 -0700
http://bitbucket.org/pypy/pyrepl/changeset/dcd221b49852/
Log: fix backspace
diff --git a/pyrepl/reader.py b/pyrepl/reader.py
--- a/pyrepl/reader.py
+++ b/pyrepl/reader.py
@@ -51,7 +51,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
More information about the pypy-commit
mailing list