Planning a Python Course for Beginners

Chris Angelico rosuav at gmail.com
Wed Aug 9 06:05:23 EDT 2017


On Wed, Aug 9, 2017 at 7:51 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Dennis Lee Bieber <wlfraed at ix.netcom.com>:
>
>>       Then there is the facet that tuples (being unmutable) can be used as
>> keys into a dictionary...
>
> Mutable objects can be used as keys into a dictionary.

Only when the objects' mutability does not affect their values.

ChrisA



More information about the Python-list mailing list