History

python/lib/gen_code.py: fix format string

Paul Brossier committed 10 years ago

Commit bbc62b51 parent 29693d01 file · +1 −1Browse files

Showing the changes to python/lib/gen_code.py (1 of 1 file). Show all

Unified · Split

python/lib/gen_code.py+1−1
@@ -374,7 +374,7 @@ Py_{shortname}_do (Py_{shortname} * self, PyObject * args) · 373 unmodified lines
374374 #print output_params
375375 for input_param in input_params:
376376 out += """
377− PyObject *py_{0};""".format(input_param['name'], input_param['type'])
377+ PyObject *py_{0};""".format(input_param['name'])
378378 refs = ", ".join(["&py_%s" % p['name'] for p in input_params])
379379 pyparamtypes = "".join([pyargparse_chars[p['type']] for p in input_params])
380380 out += """

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t