fix bad assertion
This commit is contained in:
1 parent
2b0d145731
commit
6016a461db
1 file changed
+1
-1
@@ -546,7 +546,7 @@ class ReverseWrapperBase(object):
|
||||
wrapper_name -- C/C++ identifier of the function/method to generate
|
||||
decl_modifiers -- list of C/C++ declaration modifiers, e.g. 'static'
|
||||
"""
|
||||
assert isinstance(decl_modifiers, list)
|
||||
assert isinstance(decl_modifiers, (list, tuple))
|
||||
assert all([isinstance(mod, str) for mod in decl_modifiers])
|
||||
|
||||
self.declarations.declare_variable('PyObject*', 'py_retval')
|
||||
|
||||
Reference in new issue
Block a user