[pypy-svn] r55071 - pypy/dist/pypy/objspace/std

fijal at codespeak.net fijal at codespeak.net
Wed May 21 16:29:44 CEST 2008


Author: fijal
Date: Wed May 21 16:29:44 2008
New Revision: 55071

Modified:
   pypy/dist/pypy/objspace/std/stringobject.py
Log:
Fix translation


Modified: pypy/dist/pypy/objspace/std/stringobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/stringobject.py	(original)
+++ pypy/dist/pypy/objspace/std/stringobject.py	Wed May 21 16:29:44 2008
@@ -861,7 +861,7 @@
 def repr__String(space, w_str):
     s = w_str._value
 
-    buf = StringBuilder(len(s) + 10)
+    buf = StringBuilder(50)
 
     quote = "'"
     if quote in s and '"' not in s:



More information about the Pypy-commit mailing list