Kaydet (Commit) 3ada93fc authored tarafından Raymond Hettinger's avatar Raymond Hettinger

merge

...@@ -892,9 +892,8 @@ class ChainMap(MutableMapping): ...@@ -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 = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment