[pypy-svn] r73890 - pypy/branch/cpython-extension/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Mon Apr 19 18:21:44 CEST 2010
Author: afa
Date: Mon Apr 19 18:21:41 2010
New Revision: 73890
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/import_.py
Log:
Fix translation
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/import_.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/import_.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/import_.py Mon Apr 19 18:21:41 2010
@@ -37,4 +37,4 @@
@cpython_api([rffi.CCHARP], PyObject)
def PyImport_ImportModule(space, name):
- return PyImport_Import(space, space.wrap(name))
+ return PyImport_Import(space, space.wrap(rffi.charp2str(name)))
More information about the Pypy-commit
mailing list