make the void return type not return an explicit Py_None, to prevent a bug hwere None is being returned as first element of tuple when there are out/inout parameters
This commit is contained in:
1 parent
65cc53d115
commit
9275eb01ef
1 file changed
+1
-1
@@ -15,4 +15,4 @@ class VoidReturn(ReturnValue):
|
||||
wrapper.parse_params.add_parameter("", [], prepend=True)
|
||||
|
||||
def convert_c_to_python(self, wrapper):
|
||||
wrapper.build_params.add_parameter("O", ['Py_None'], prepend=True)
|
||||
pass
|
||||
Reference in new issue
Block a user