On 20/01/22 3:45 am, Alexandre Brault wrote:
On 2022-01-18 6:12 p.m., Chris Angelico wrote:
3) Optional semantic difference: 【1, 2, 3】 is exactly the same as (1,
2, 3), but 【1, 2, 3) would be an error.
What does it say about the viability of this idea that until the second
part of that sentence, I thought it would be equivalent to [1, 2, 3]?
Those particular brackets are really confusing because they're half
square and half round. I would expect it to mean [(1, 2, 3)].
--
Greg
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/PO4ZMNPI5DZHBT7ZY3PQLEAQTVOVEPVW/
Code of Conduct: http://python.org/psf/codeofconduct/