From: Bartosz Golaszewski Date: Tue, 15 May 2018 09:50:16 +0000 (+0200) Subject: bindings: python: improve readability X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2c8127eba15eafdc565eb07470903212ee5d7dfd;p=qemu-gpiodev%2Flibgpiod.git bindings: python: improve readability Order the arguments in a reverse christmas tree shape in gpiod_Chip_find_lines(); Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/python/gpiodmodule.c b/bindings/python/gpiodmodule.c index abb28d7..9228746 100644 --- a/bindings/python/gpiodmodule.c +++ b/bindings/python/gpiodmodule.c @@ -1417,10 +1417,10 @@ PyDoc_STRVAR(gpiod_Chip_find_lines_doc, static gpiod_LineBulkObject * gpiod_Chip_find_lines(gpiod_ChipObject *self, PyObject *args) { - Py_ssize_t num_names, i; PyObject *names, *lines, *iter, *next, *arg; - gpiod_LineObject *line; gpiod_LineBulkObject *bulk; + Py_ssize_t num_names, i; + gpiod_LineObject *line; int rv; rv = PyArg_ParseTuple(args, "O", &names);