[docs] [issue29089] dictionary keys described incorrectly in tutorial
R. David Murray
report at bugs.python.org
Tue Dec 27 21:27:30 EST 2016
R. David Murray added the comment:
It is not wrong. It does not say that keys are limited to immutables, only that immutables can be keys. 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.
Python tracker <report at bugs.python.org>
More information about the docs