[pypy-svn] r74995 - pypy/trunk/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Tue Jun 1 11:36:51 CEST 2010
Author: afa
Date: Tue Jun 1 11:36:50 2010
New Revision: 74995
Modified:
pypy/trunk/pypy/module/cpyext/methodobject.py
Log:
This may fix a translation issue
Modified: pypy/trunk/pypy/module/cpyext/methodobject.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/methodobject.py (original)
+++ pypy/trunk/pypy/module/cpyext/methodobject.py Tue Jun 1 11:36:50 2010
@@ -125,7 +125,7 @@
self.space = space
self.method_name = method_name
self.wrapper_func = wrapper_func
- assert type(wrapper_func_kwds) is not str
+ assert not isinstance(wrapper_func_kwds, str)
self.wrapper_func_kwds = wrapper_func_kwds
self.doc = doc
self.func = func
More information about the Pypy-commit
mailing list