[pypy-svn] r74993 - pypy/trunk/pypy/module/cpyext

fijal at codespeak.net fijal at codespeak.net
Tue Jun 1 05:57:28 CEST 2010


Author: fijal
Date: Tue Jun  1 05:57:26 2010
New Revision: 74993

Modified:
   pypy/trunk/pypy/module/cpyext/methodobject.py
Log:
An assert that should be true in my opinion


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 05:57:26 2010
@@ -125,6 +125,7 @@
         self.space = space
         self.method_name = method_name
         self.wrapper_func = wrapper_func
+        assert type(wrapper_func_kwds) is not str
         self.wrapper_func_kwds = wrapper_func_kwds
         self.doc = doc
         self.func = func



More information about the Pypy-commit mailing list