[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Pythonic] Are empty tuple and array literals syntactically incompatible?
- From: Jay Mithani <jayvmithani@...>
- Date: Fri, 6 Jul 2018 13:31:05 -0400
On Jul 6, 2018, at 6:35 AM, Luiz Henrique de Figueiredo <email@example.com> wrote:
>> x = 
> x = [] is already a string, not a nested tuple. Requiring x = [ [x]
> ] seems weird.
In the statement x = [], the outer tuple is not empty. Therefore I do not think this presents a conflict.