[pypy-svn] pypy default: Fix translation
amauryfa
commits-noreply at bitbucket.org
Mon Feb 14 17:19:23 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r41910:c14ca767e02b
Date: 2011-02-14 17:17 +0100
http://bitbucket.org/pypy/pypy/changeset/c14ca767e02b/
Log: Fix translation
diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -931,7 +931,7 @@
w_unicode = unicode_from_object(space, w_unicode)
spec = space.unicode_w(w_format_spec)
formatter = newformat.unicode_formatter(space, spec)
- return formatter.format_string(w_unicode._value)
+ return formatter.format_string(space.unicode_w(w_unicode))
import unicodetype
More information about the Pypy-commit
mailing list