[issue43180] Lists without commas?

Mark Dickinson report at bugs.python.org
Tue Feb 9 11:06:59 EST 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

This is by design. It's not really to do with lists, but to do with  placing two string literals next to each other.

See: https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation

See also https://www.python.org/dev/peps/pep-3126/ .

I'll close here.

----------
nosy: +mark.dickinson
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list