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

Rocco Moretti roccomoretti at hotpop.com
Wed Dec 29 15:38:04 EST 2004


seberino at spawar.navy.mil wrote:

> Why tuples use parentheses ()'s instead of something else like <>'s?
 >
 > Please enlighten me as I really want to know.

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.



More information about the Python-list mailing list