[issue29089] Python 2 dictionary keys described incorrectly

2016-12-27 Thread R. David Murray
R. David Murray added the comment: It could say 'hashable object' instead of immutable object. I don't know if hash has been introduced by that point, though. It's the tutorial. Probably better to just leave it alone. Precise understanding can come later. -- nosy: +r.david.murray

[issue29089] Python 2 dictionary keys described incorrectly

2016-12-27 Thread Xezlec
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