From 05dea2eab5813a1b539ae20608a37ae6ecfe0034 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 20 Jun 2020 08:04:55 +0200 Subject: [PATCH] python: remove newline before method call (#44287) --- bindings/python/lang.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/lang.py b/bindings/python/lang.py index f97c63ce..edab7505 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -1019,11 +1019,11 @@ register_constants(PyObject *d) if m.return_type: - print_(' return_value =', file=fd) + print_(' return_value = ', file=fd, end='') if 'new' in m.name: print_('(%s)' % m.return_type, file=fd) else: - print_(' ', file=fd) + print_(' ', file=fd, end='') print_('%s(%s);' % (m.name, ', '.join([ref_name(x) for x in m.args])), file=fd) if m.return_type: