projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a243d10
)
python/lib/gen_code.py: kwargs last for py2.x
author
Paul Brossier
<piem@piem.org>
Wed, 22 Aug 2018 13:42:37 +0000
(15:42 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 22 Aug 2018 13:42:37 +0000
(15:42 +0200)
python/lib/gen_code.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_code.py
b/python/lib/gen_code.py
index
92de2ad
..
7527fe9
100644
(file)
--- 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