[pypy-commit] pypy py3k: Remove the u in front of str.__repr__
amauryfa
noreply at buildbot.pypy.org
Thu Oct 13 22:40:11 CEST 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48020:76589f214f51
Date: 2011-10-13 22:37 +0200
http://bitbucket.org/pypy/pypy/changeset/76589f214f51/
Log: Remove the u in front of str.__repr__
diff --git a/pypy/rlib/runicode.py b/pypy/rlib/runicode.py
--- a/pypy/rlib/runicode.py
+++ b/pypy/rlib/runicode.py
@@ -1212,10 +1212,10 @@
if quotes:
if s.find(u'\'') != -1 and s.find(u'\"') == -1:
quote = ord('\"')
- result.append('u"')
+ result.append('"')
else:
quote = ord('\'')
- result.append('u\'')
+ result.append('\'')
else:
quote = 0
More information about the pypy-commit
mailing list