[pypy-svn] r15313 - pypy/dist/pypy/interpreter/pyparser

arigo at codespeak.net arigo at codespeak.net
Fri Jul 29 02:22:02 CEST 2005


Author: arigo
Date: Fri Jul 29 02:21:59 2005
New Revision: 15313

Modified:
   pypy/dist/pypy/interpreter/pyparser/parsestring.py
Log:
!

(arigo, pedronis)


Modified: pypy/dist/pypy/interpreter/pyparser/parsestring.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/parsestring.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/parsestring.py	Fri Jul 29 02:21:59 2005
@@ -216,7 +216,7 @@
     while ps < end and ord(s[ps]) & 0x80:
         ps += 1
     w_u = PyUnicode_DecodeUTF8(space, space.wrap(s[pt : ps]))
-    w_v = PyUnicode_AsEncodedString(space, w_u, space.unwrap(encoding))
+    w_v = PyUnicode_AsEncodedString(space, w_u, space.wrap(encoding))
     v = space.str_w(w_v)
     return v, ps
 



More information about the Pypy-commit mailing list