> > Rationale > > ========= > > > > A frozendict mapping cannot be changed, but its values can be mutable > > (not hashable). A frozendict is hashable and so immutable if all > > values are hashable (immutable). > The wording of the above seems very unclear to me. > > Do you mean "A frozendict has a constant set of keys, and for every key, > d[key] has a specific value for the lifetime of the frozendict. > However, these values *may* be mutable. The frozendict is hashable iff > all of the values are hashable." ? (or somesuch) > > [...snip...] >
I agree that this sentence needs some clarification. David's formulation is also what I would guess it to mean, but it should be stated more explicitly. Eli
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com