[pypy-svn] r64154 - pypy/branch/wip-fix-stackless-O2-pickling/pypy/interpreter/pyparser

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Apr 16 13:23:24 CEST 2009


Author: cfbolz
Date: Thu Apr 16 13:23:24 2009
New Revision: 64154

Modified:
   pypy/branch/wip-fix-stackless-O2-pickling/pypy/interpreter/pyparser/parsestring.py
Log:
typo


Modified: pypy/branch/wip-fix-stackless-O2-pickling/pypy/interpreter/pyparser/parsestring.py
==============================================================================
--- pypy/branch/wip-fix-stackless-O2-pickling/pypy/interpreter/pyparser/parsestring.py	(original)
+++ pypy/branch/wip-fix-stackless-O2-pickling/pypy/interpreter/pyparser/parsestring.py	Thu Apr 16 13:23:24 2009
@@ -88,7 +88,7 @@
         if need_encoding:
             w_u = unicodehelper.PyUnicode_DecodeUTF8(space, space.wrap(substr))
             #w_v = space.wrap(space.unwrap(w_u).encode(encoding)) this works
-            w_v = Punicodehelper.yUnicode_AsEncodedString(space, w_u, space.wrap(encoding))
+            w_v = unicodehelper.PyUnicode_AsEncodedString(space, w_u, space.wrap(encoding))
             return w_v
         else:
             return space.wrap(substr)



More information about the Pypy-commit mailing list