From 2c8127eba15eafdc565eb07470903212ee5d7dfd Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 15 May 2018 11:50:16 +0200 Subject: [PATCH] bindings: python: improve readability Order the arguments in a reverse christmas tree shape in gpiod_Chip_find_lines(); Signed-off-by: Bartosz Golaszewski --- bindings/python/gpiodmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2