projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
29693d0
)
python/lib/gen_code.py: fix format string
author
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 17:53:17 +0000
(19:53 +0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 17:53:17 +0000
(19:53 +0200)
python/lib/gen_code.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_code.py
b/python/lib/gen_code.py
index
6fc8e2a
..
f235d65
100644
(file)
--- a/
python/lib/gen_code.py
+++ b/
python/lib/gen_code.py
@@
-374,7
+374,7
@@
Py_{shortname}_do (Py_{shortname} * self, PyObject * args)
#print output_params
for input_param in input_params:
out += """
- PyObject *py_{0};""".format(input_param['name']
, input_param['type']
)
+ PyObject *py_{0};""".format(input_param['name'])
refs = ", ".join(["&py_%s" % p['name'] for p in input_params])
pyparamtypes = "".join([pyargparse_chars[p['type']] for p in input_params])
out += """