From c3ab54d71b5d488a0774c1f85408d071cbdd1f14 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sun, 25 May 2008 21:18:51 +0100 Subject: [PATCH] bug fix --- pybindgen/cppmethod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybindgen/cppmethod.py b/pybindgen/cppmethod.py index 00b42b0..2b09171 100644 --- a/pybindgen/cppmethod.py +++ b/pybindgen/cppmethod.py @@ -282,7 +282,7 @@ class DummyReturnValue(ReturnValue): super(DummyReturnValue, self).__init__(arg.ctype) else: args, kwargs = utils.parse_retval_spec(arg) - super(DummyReturnValue, self).__init__(*args, **kwargs) + super(DummyReturnValue, self).__init__(args[0]) class DummyParameter(Parameter): @@ -302,7 +302,7 @@ class DummyParameter(Parameter): super(DummyParameter, self).__init__(arg.ctype) else: args, kwargs = utils.parse_param_spec(arg) - super(DummyParameter, self).__init__(*args, **kwargs) + super(DummyParameter, self).__init__(args[0], args[1]) class CppDummyMethod(CppMethod):