[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Pythonic] Are empty tuple and array literals syntactically incompatible?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 6 Jul 2018 07:35:42 -0300
> x = []
x = [[1]] is already a string, not a nested tuple. Requiring x = [ [x]
] seems weird.