Your IP : 3.15.17.137


Current Path : /opt/alt/python312/lib64/python3.12/importlib/metadata/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/importlib/metadata/__pycache__/_collections.cpython-312.pyc

�

�Q�f���n�ddlZGd�dej�ZGd�dejdd��Zy)�Nc�(��eZdZdZ�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)rr
s �r
�<lambda>z-FreezableDefaultDict.freeze.<locals>.<lambda>s���4�#7�#7�#9r)r)r
s`r
�freezezFreezableDefaultDict.freezes
���9��r)�__name__�
__module__�__qualname__�__doc__r	r�
__classcell__)rs@r
rrs����B�:rrc��eZdZed��Zy)�Pairc	�\�|ttj|jdd���S)N�=�)�map�str�strip�split)�cls�texts  r
�parsez
Pair.parses#���C��	�	�4�:�:�c�1�#5�6�7�7rN)rrr�classmethodr$�rr
rrs���8��8rrz
name value)�collections�defaultdictr�
namedtuplerr&rr
�<module>r*s6���:�;�2�2�:�,8�!�;�!�!�&�,�7�8r

?>