B ¯@`äã@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ú:/tmp/pip-unpacked-wheel-q9tj5l6a/pandas/compat/chainmap.pyÚ __setitem__s  zDeepChainMap.__setitem__)r r cCs@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)ÚtypingrrrrrrrrrrrÚs