You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/rhettinger'closed_at=<Date2021-03-14.03:16:08.548>created_at=<Date2021-02-17.19:48:44.619>labels= ['type-bug', 'library', '3.10']
title='Add keyword argument support to ChainMap.new_child()'updated_at=<Date2021-03-14.03:16:08.547>user='https://github.com/rhettinger'
defnew_child(self, m=None, **kwargs):
'''New ChainMap with a new map followed by all previous maps. If no map is provided, an empty dict is used. Keyword arguments update the map or new empty dict: '''ifmisNone:
m=kwargselifkwargs:
m.update(kwargs)
returnself.__class__(m, *self.maps)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: