Skip to content
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

Allow pmap() and .update() to take an iterable of item pairs #272

Open
gilch opened this issue Apr 4, 2023 · 0 comments
Open

Allow pmap() and .update() to take an iterable of item pairs #272

gilch opened this issue Apr 4, 2023 · 0 comments

Comments

@gilch
Copy link

gilch commented Apr 4, 2023

Python dicts can be constructed and updated this way. If one happens to have data in this form, one would currently have to go through a dict() first in order to construct or update a PMap.

These could perhaps both also take kwarg items, as Python's dict() and its .update() do, although that would preclude using kwargs for other purposes.

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

No branches or pull requests

1 participant