|
From: | Dmitry Gutov |
Subject: | bug#62031: 29.0.60; python-mode indentation after re.match |
Date: | Thu, 9 Mar 2023 00:46:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
Lele Gaifax<lele@metapensiero.it> writes:[...] + if re.match('^[a-c]+$', string): + print('yes') + else: [...]I think you might want to add a variation to this test, like this: from re import match if match(...): pass
I think this would be testing some different part of the logic (forward statement navigation?).
Anyway, if you see any problem with indentation (with that snippet or not), please report.
[Prev in Thread] | Current Thread | [Next in Thread] |