Your IP : 52.15.71.146


Current Path : /opt/alt/python310/lib64/python3.10/importlib/metadata/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/importlib/metadata/__pycache__/_collections.cpython-310.pyc

o

6��f��@s6ddlZGdd�dej�ZGdd�de�dd��ZdS)�Ncs(eZdZdZ�fdd�Zdd�Z�ZS)�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
    cst|dt�j�|�S)N�_frozen)�getattr�super�__missing__)�self�key��	__class__��F/opt/alt/python310/lib64/python3.10/importlib/metadata/_collections.pyrsz FreezableDefaultDict.__missing__cs�fdd��_dS)Ncs���S)N)�default_factory)r�rrr�<lambda>sz-FreezableDefaultDict.freeze.<locals>.<lambda>)rrrrr�freezeszFreezableDefaultDict.freeze)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rrr	rrsrc@seZdZedd��ZdS)�PaircCs|ttj|�dd���S)N�=�)�map�str�strip�split)�cls�textrrr�parsesz
Pair.parseN)rrr�classmethodrrrrrrsrz
name value)�collections�defaultdictr�
namedtuplerrrrr�<module>s

?>