Projet

Général

Profil

0007-python-remove-newline-before-method-call-44287.patch

Benjamin Dauvergne, 20 juin 2020 12:44

Télécharger (994 octets)

Voir les différences:

Subject: [PATCH 07/21] python: remove newline before method call (#44287)

 bindings/python/lang.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bindings/python/lang.py
1016 1016

  
1017 1017

  
1018 1018
        if m.return_type:
1019
            print_('    return_value =', file=fd)
1019
            print_('    return_value = ', file=fd, end='')
1020 1020
            if 'new' in m.name:
1021 1021
                print_('(%s)' % m.return_type, file=fd)
1022 1022
        else:
1023
            print_('   ', file=fd)
1023
            print_('    ', file=fd, end='')
1024 1024
        print_('%s(%s);' % (m.name, ', '.join([ref_name(x) for x in m.args])), file=fd)
1025 1025

  
1026 1026
        if m.return_type:
1027
-