New submission from Berker Peksag <[email protected]>:
Thank you for your report and for the PR, but I think you misunderstood
documentation:
Using square brackets, separating items with commas: [a], [a, b, c]
The comma is used to show two different lists: a list with one item ``[a]``
*and* a list with three items ``[a, b, c]``, not a tuple with two lists ``[a],
[a, b, c]`` (In Python, both ``(1,)`` and ``1,`` create a tuple)
----------
nosy: +berker.peksag
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32109>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com