HOME


sh-3ll 1.0
DIR:/usr/local/lib64/python3.6/site-packages/pandas/compat/__pycache__/
Upload File :
Current File : //usr/local/lib64/python3.6/site-packages/pandas/compat/__pycache__/chainmap.cpython-36.pyc
3

���h��@sDddlmZmZmZmZed�Zed�ZGdd�deeef�ZdS)�)�ChainMap�MutableMapping�TypeVar�cast�_KT�_VTc@s2eZdZdZeedd�dd�Zedd�dd�ZdS)	�DeepChainMapz~
    Variant of ChainMap that allows direct updates to inner scopes.

    Only works when all passed mapping are mutable.
    N)�key�value�returncCsVx4|jD]*}ttttf|�}||kr|||<dSqW|ttttf|jd�|<dS)Nr)�mapsrrrr)�selfr	r
�mapping�mutable_mapping�r�8/tmp/pip-build-5_djhm0z/pandas/pandas/compat/chainmap.py�__setitem__szDeepChainMap.__setitem__)r	rcCs@x2|jD](}ttttf|�}||kr||=dSqWt|��dS)z\
        Raises
        ------
        KeyError
            If `key` doesn't exist.
        N)rrrrr�KeyError)r
r	rrrrr�__delitem__szDeepChainMap.__delitem__)�__name__�
__module__�__qualname__�__doc__rrrrrrrrrsrN)Ztypingrrrrrrrrrrr�<module>s