shithub: aubio

Download patch

ref: a2ed1699f4bf28d9a1cdacf574b902f1a3353b86
parent: a243d1048abe98a4bf46f49b909ebaa01019238b
author: Paul Brossier <piem@piem.org>
date: Wed Aug 22 11:42:37 EDT 2018

python/lib/gen_code.py: kwargs last for py2.x

--- a/python/lib/gen_code.py
+++ b/python/lib/gen_code.py
@@ -386,7 +386,7 @@
 // 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