Tuple comprehension

Sean 'Shaleh' Perry shalehperry at attbi.com
Thu Apr 11 12:02:20 EDT 2002


> 
> Ah...I think I understand your perspective a little better now. I never
> think of a tuple as a list that's immutable, so I don't encounter very
> often the same population problem. To me, lists become immutable when I
> give them names in all caps, just like my variables become constants when
> I name them that way.
> 

I do similar things, but using the language to help prevent mistakes is handy
when I give people modules to use in their own code.





More information about the Python-list mailing list