> > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120229/8d7703cf/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4