On Sat, Apr 13, 2019 at 9:02 AM Chris Angelico <ros...@gmail.com> wrote:

> Would be really nice to be able to spell this as a dict/set intersection.
>
> func(**(d & {'a', 'b', 'c'}))
>

That would be _very_ consistent with the ongoing discussions about
operators over dicts.

-- 
Juancarlo *Añez*
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to