[docs] [issue32109] Separated square brackets will generate a tuple instead of a list.

Cheryl Sabella report at bugs.python.org
Wed Nov 22 06:07:26 EST 2017


Cheryl Sabella <chekat2 at gmail.com> added the comment:

Perhaps this is what the YCMove meant?

>>> a = [1], [2, 3, 4]
>>> a
([1], [2, 3, 4])
>>>

----------
nosy: +csabella

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


More information about the docs mailing list