Help understanding the decisions *behind* python?
Phillip B Oldham
phillip.oldham at gmail.com
Mon Jul 20 15:26:07 EDT 2009
On Jul 20, 6:08 pm, Duncan Booth <duncan.bo... at invalid.invalid> wrote:
> The main reason why you need both lists and tuples is that because a tuple
> of immutable objects is itself immutable you can use it as a dictionary
> key.
Really? That sounds interesting, although I can't think of any real-
world cases where you'd use something like that.
More information about the Python-list
mailing list