Qfn[ n d dl Z G d de j Z G d d e j dd ZdS ) Nc ( e Zd ZdZ fdZd Z xZS )FreezableDefaultDicta! Often it is desirable to prevent the mutation of a default dict after its initial construction, such as to prevent mutation during iteration. >>> dd = FreezableDefaultDict(list) >>> dd[0].append('1') >>> dd.freeze() >>> dd[1] [] >>> len(dd) 1 c Z t | dt j | S )N_frozen)getattrsuper__missing__)selfkey __class__s F/opt/alt/python311/lib64/python3.11/importlib/metadata/_collections.pyr z FreezableDefaultDict.__missing__ s&