what would be a frozen dict ?

Posted by dugres on Stack Overflow See other posts from Stack Overflow or by dugres
Published on 2010-04-24T07:19:50Z Indexed on 2010/04/24 7:23 UTC
Read the original article Hit count: 282

Filed under:
|
|

A frozen set is a frozenset.
A frozen list could be a tuple.
What would be a frozen dict ? An immutable, hashable dict.

I guess it could be something like collections.namedtuple, but namedtuple is more like a frozenkeys dict (an half-frozen dict). No ?

© Stack Overflow or respective owner

Related posts about python

Related posts about immutable