[Python-ideas] Make obj[] valid syntax?

Terry Reedy tjreedy at udel.edu
Wed Nov 14 23:04:41 CET 2007


"Oleg Broytmann" <phd at phd.pp.ru> wrote in 
message news:20071114190057.GA32728 at phd.pp.ru...
|   1, 2, 3 is a tuple, and () is a tuple, should there be a syntax for an
| empty tuple without parenthesis?

The only thing I have thought of is a bare comma, but I like that even less 
than the () exception and expect most would agree ;-)







More information about the Python-ideas mailing list