Skip to content

bpo-43245: Add keyword argument support to ChainMap.new_child()#24788

Merged
rhettinger merged 3 commits intopython:masterfrom
kamilturek:new-child-kwarg
Mar 14, 2021
Merged

bpo-43245: Add keyword argument support to ChainMap.new_child()#24788
rhettinger merged 3 commits intopython:masterfrom
kamilturek:new-child-kwarg

Conversation

@kamilturek
Copy link
Contributor

@kamilturek kamilturek commented Mar 8, 2021

Support keyword argument within ChainMap.new_child() method, making it possible to write:

local = parent.new_child(foreground='white', background='cyan')

instead of

local = parent.new_child(dict(foreground='white', background='cyan'))

https://bugs.python.org/issue43245

https://bugs.python.org/issue43245

@rhettinger rhettinger self-assigned this Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants