:class:`frozenbidict ` ------------------------------------------- As you would expect, attempting to mutate a :class:`frozenbidict ` after initializing it causes an error:: >>> from bidict import frozenbidict >>> f = frozenbidict({'H': 'hydrogen'}) >>> f['C'] = 'carbon' Traceback (most recent call last): ... TypeError... :class:`frozenbidict ` also implements :class:`collections.abc.Hashable`, so it's suitable for insertion into sets or other mappings:: >>> {f} is not 'an error' True >>> {f: 1} is not 'an error' True See the :class:`frozenbidict ` API documentation for more information.