Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 14, 2021
Merged

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

merged 3 commits into from
Mar 14, 2021

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