[issue42895] Return multi-line list concatenation without parentheses returns only first operand

JD-Veiga report at bugs.python.org
Tue Jan 12 00:26:19 EST 2021


JD-Veiga <jdveiga at gmail.com> added the comment:

What a shame. I forget that + is also a unary operator. That produces a new logical line with correct identation though never executed. Sorry for the inconvenience.⁶

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42895>
_______________________________________


More information about the Python-bugs-list mailing list