pymor.tools.frozendict

Classes

FrozenDict

An immutable dictionary.

SortedFrozenDict

A sorted immutable dictionary.

class pymor.tools.frozendict.FrozenDict(*args, **kwargs)[source]

Bases: dict

An immutable dictionary.

property clear[source]

Not available, as the dictionary is immutable.

property pop[source]

Not available, as the dictionary is immutable.

property popitem[source]

Not available, as the dictionary is immutable.

property setdefault[source]

Not available, as the dictionary is immutable.

property update[source]

Not available, as the dictionary is immutable.

class pymor.tools.frozendict.SortedFrozenDict(*args, **kwargs)[source]

Bases: FrozenDict

A sorted immutable dictionary.