[pypy-svn] r48801 - pypy/branch/ropes-unicode/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Nov 19 17:09:14 CET 2007


Author: cfbolz
Date: Mon Nov 19 17:09:13 2007
New Revision: 48801

Modified:
   pypy/branch/ropes-unicode/pypy/objspace/std/rope.py
Log:
rpython fix: don't mix string and unicode


Modified: pypy/branch/ropes-unicode/pypy/objspace/std/rope.py
==============================================================================
--- pypy/branch/ropes-unicode/pypy/objspace/std/rope.py	(original)
+++ pypy/branch/ropes-unicode/pypy/objspace/std/rope.py	Mon Nov 19 17:09:13 2007
@@ -345,7 +345,7 @@
 
     def flatten_unicode(self):
         f = fringe(self)
-        return "".join([node.flatten_unicode() for node in f])
+        return u"".join([node.flatten_unicode() for node in f])
  
     def hash_part(self):
         h = self.hash_cache



More information about the Pypy-commit mailing list