From a2ed1699f4bf28d9a1cdacf574b902f1a3353b86 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 22 Aug 2018 15:42:37 +0200 Subject: [PATCH] python/lib/gen_code.py: kwargs last for py2.x --- python/lib/gen_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/gen_code.py b/python/lib/gen_code.py index 92de2adf..7527fe9b 100644 --- a/python/lib/gen_code.py +++ b/python/lib/gen_code.py @@ -386,7 +386,7 @@ Py_{shortname}_del (Py_{shortname} * self, PyObject * unused) // do {shortname} static PyObject* Pyaubio_{shortname}_{method} (Py_{shortname} * self, PyObject * args) -{{""".format(**self.__dict__, method = method) +{{""".format(method = method, **self.__dict__) input_params = self.do_inputs output_params = self.do_outputs #print input_params -- 2.11.0