Planning a Python Course for Beginners

Steve D'Aprano steve+python at pearwood.info
Wed Aug 9 08:58:39 EDT 2017


On Wed, 9 Aug 2017 07:51 pm, Marko Rauhamaa 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.

Indeed.

And people can also put their hand into a fire in order to pull out a red-hot
burning coal. I wouldn't recommend either, at least not under uncontrolled
conditions.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list