Why tuples use parentheses ()'s instead of something else like <>'s?

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Thu Dec 30 10:58:07 EST 2004


Rocco Moretti wrote:
> So to summarize:
> 
> Commas define tuples, except when they don't, and parentheses are only 
> required when they are necessary.
> 
> I hope that clears up any confusion.

You have my vote for QOTW.

-- 
"Codito ergo sum"
Roel Schroeven



More information about the Python-list mailing list