U °Dx`äã@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ÚreturncCsT|jD],}ttttf|ƒ}||kr|||<dSq|ttttf|jdƒ|<dS)Nr)Úmapsrrrr)Úselfr r ÚmappingÚmutable_mapping©rú=/tmp/pip-target-zr53vnty/lib/python/pandas/compat/chainmap.pyÚ __setitem__s  zDeepChainMap.__setitem__)r r cCs>|jD]*}ttttf|ƒ}||kr||=dSqt|ƒ‚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)ÚtypingrrrrrrrrrrrÚs