Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53583:7d475d86c2f6
Date: 2012-03-14 15:24 +0100
http://bitbucket.org/pypy/pypy/changeset/7d475d86c2f6/

Log:    the default formatting string must be an unicode now

diff --git a/pypy/module/__builtin__/operation.py 
b/pypy/module/__builtin__/operation.py
--- a/pypy/module/__builtin__/operation.py
+++ b/pypy/module/__builtin__/operation.py
@@ -208,6 +208,6 @@
 function).  Note that classes are callable."""
     return space.callable(w_object)
 
-def format(space, w_obj, w_format_spec=""):
+def format(space, w_obj, w_format_spec=u""):
     """Format a obj according to format_spec"""
     return space.format(w_obj, w_format_spec)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to