New submission from Xezlec:
In section 5.5 on the page
https://docs.python.org/2/tutorial/datastructures.html#dictionaries the
requirements given for dictionary keys are not correct.
Specifically, it is claimed that only immutable objects (and tuples containing
only immutable objects) may be
Xezlec added the comment:
> It's the tutorial. Probably better to just leave it alone. Precise
> understanding can come later.
But the problem isn't that it's imprecise. It's flat-out wrong. My opinion
would be that it's always a bad idea to put wrong in
Xezlec added the comment:
> Perhaps the sentence about a tuple pointing to a mutable could be tightened
> up, though, by saying that if a tuple points to something that can not itself
> be a dictionary key, then that tuple can not be a dictionary key.
That would be great. Thank