Author: Amaury Forgeot d'Arc <[email protected]>
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
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to