History

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

Paul Brossier committed 8 years ago

Commit a2ed1691 parent a243d101 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
@@ -386,7 +386,7 @@ Py_{shortname}_del (Py_{shortname} * self, PyObject * unused) · 385 unmodified lines
386386 // do {shortname}
387387 static PyObject*
388388 Pyaubio_{shortname}_{method} (Py_{shortname} * self, PyObject * args)
389−{{""".format(**self.__dict__, method = method)
389+{{""".format(method = method, **self.__dict__)
390390 input_params = self.do_inputs
391391 output_params = self.do_outputs
392392 #print input_params

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