Tuple Format?

Grant Edwards ge at nowhere.none
Fri Sep 1 13:11:26 EDT 2000


In article <Pine.GSO.4.10.10009011423130.22219-100000 at sundial>, Moshe Zadka wrote:
>On Thu, 31 Aug 2000, Gene C wrote:
>
>> Has anyone considered a different format for tuples to get around the
>> somewhat strange single element tuple format? I find when explaining the
>> language to others, the single tuple format always solicits a, "Thats
>> weird."
>
>That's because you're not explaining it correctly. Paraphrasing the NRA,
>"parens don't build tuples, commas build tuples". 

What about ()?

It's a tuple, but there are no commas, only parens.

-- 
Grant Edwards                   grante             Yow!  .. Like I always
                                  at               say -- nothing can beat
                               visi.com            the BRATWURST here in
                                                   DUSSELDORF!!



More information about the Python-list mailing list