[pypy-svn] r8348 - pypy/branch/src-typedunwrap/pypy/objspace/std
pedronis at codespeak.net
pedronis at codespeak.net
Mon Jan 17 19:54:39 CET 2005
Author: pedronis
Date: Mon Jan 17 19:54:39 2005
New Revision: 8348
Modified:
pypy/branch/src-typedunwrap/pypy/objspace/std/unicodeobject.py
Log:
here we are also cheating, still changed the one unwrap for which it made sense
Modified: pypy/branch/src-typedunwrap/pypy/objspace/std/unicodeobject.py
==============================================================================
--- pypy/branch/src-typedunwrap/pypy/objspace/std/unicodeobject.py (original)
+++ pypy/branch/src-typedunwrap/pypy/objspace/std/unicodeobject.py Mon Jan 17 19:54:39 2005
@@ -6,7 +6,7 @@
# string-to-unicode delegation
def delegate__String(space, w_str):
- return W_UnicodeObject(space, unicode(space.unwrap(w_str)))
+ return W_UnicodeObject(space, unicode(space.str_w(w_str)))
delegate__String.result_class = W_UnicodeObject
delegate__String.priority = PRIORITY_CHANGE_TYPE
delegate__String.can_fail = True
More information about the Pypy-commit
mailing list