Your IP : 3.15.17.137
�
�Q�f� � �n � d dl Z G d� de j � Z G d� d e j dd� � Zy)� Nc �( � � e Zd ZdZ� fd�Zd� 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 �: �� t | dt �| � � |� S )N�_frozen)�getattr�super�__missing__)�self�key� __class__s ��F/opt/alt/python312/lib64/python3.12/importlib/metadata/_collections.pyr z FreezableDefaultDict.__missing__ s �� �<�w�t�Y���(;�<�S�A�A� c � � � � fd�� _ y )Nc �$ �� �j � S )N)�default_factory)r r
s �r
�<lambda>z-FreezableDefaultDict.freeze.<locals>.<lambda> s �� �4�#7�#7�#9r )r )r
s `r
�freezezFreezableDefaultDict.freeze s
�� �9��r )�__name__�
__module__�__qualname__�__doc__r r �
__classcell__)r s @r
r r s �� ��B�:r r c � � e Zd Zed� � Zy)�Pairc �\ � | t t j |j dd� � � S )N�=� )�map�str�strip�split)�cls�texts r
�parsez
Pair.parse s# � ��C�� � �4�:�:�c�1�#5�6�7�7r N)r r r �classmethodr$ � r r
r r s � ��8� �8r r z
name value)�collections�defaultdictr �
namedtupler r&