File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ subscript notation ``a[k]`` selects the item indexed by ``k`` from the mapping
496496:keyword: `del ` statements. The built-in function :func: `len ` returns the number
497497of items in a mapping.
498498
499- There is currently a single intrinsic mapping type :
499+ There are currently two intrinsic mapping types :
500500
501501
502502Dictionaries
@@ -535,6 +535,20 @@ module.
535535 an implementation detail at that time rather than a language guarantee.
536536
537537
538+ Frozen dictionaries
539+ ^^^^^^^^^^^^^^^^^^^
540+
541+ .. index :: pair: object; frozendict
542+
543+ These represent an immutable dictionary. They are created by the built-in
544+ :func: `frozendict ` constructor. A frozendict is :term: `hashable ` if all of
545+ its keys and values are hashable, in which case it can be used as an element
546+ of a set, or as a key in another mapping. :class: `!frozendict ` is not a
547+ subclass of :class: `dict `; it inherits directly from :class: `object `.
548+
549+ .. versionadded :: 3.15
550+
551+
538552Callable types
539553--------------
540554
You can’t perform that action at this time.
0 commit comments