This commit is contained in:
Raymond Hettinger 2015-09-08 00:36:56 -04:00
commit 3ada93fc86
1 changed files with 2 additions and 3 deletions

View File

@ -892,9 +892,8 @@ class ChainMap(MutableMapping):
__copy__ = copy __copy__ = copy
def new_child(self, m=None): # like Django's Context.push() def new_child(self, m=None): # like Django's Context.push()
''' '''New ChainMap with a new map followed by all previous maps.
New ChainMap with a new map followed by all previous maps. If no If no map is provided, an empty dict is used.
map is provided, an empty dict is used.
''' '''
if m is None: if m is None:
m = {} m = {}