[pypy-svn] r73256 - pypy/branch/cpython-extension/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Thu Apr 1 22:53:41 CEST 2010
Author: afa
Date: Thu Apr 1 22:53:39 2010
New Revision: 73256
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/modsupport.py
Log:
One translation fix
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/modsupport.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/modsupport.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/modsupport.py Thu Apr 1 22:53:39 2010
@@ -79,7 +79,7 @@
w_type = space.gettypeobject(Module.typedef)
w_obj_type = space.type(w_obj)
return int(space.is_w(w_type, w_obj_type) or
- space.issubtype(w_obj_type, w_type))
+ space.is_true(space.issubtype(w_obj_type, w_type)))
@cpython_api([PyObject], PyObject, borrowed=True)
def PyModule_GetDict(space, w_mod):
More information about the Pypy-commit
mailing list