Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions peps/pep-0814.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ Construction
* ``frozendict(collection, **kwargs)`` combines the two previous
constructions.

Keys must be hashable and therefore immutable, but values can be mutable.
Using immutable values creates a hashable ``frozendict``.
Keys must be hashable, but values can be non-hashable.
Using hashable values creates a hashable ``frozendict``.

Creating a ``frozendict`` from a ``dict``, ``frozendict(dict)``, has a
complexity of *O*\ (*n*): items are copied (shallow copy).
Expand Down