On Fri, 23 Oct 2020 at 09:39, Steven D'Aprano <[email protected]> wrote:

> Using PEP 634 syntax, I could write:
>
>
>     def method(self, **kwargs):
>         {'spam': spam, 'eggs': eggs, **kw} = **kwargs
>         process(spam, eggs)
>         super().method(**kw)
>

I like that.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/E4XRNYEARYNGXQGL3XKTTJSSE2ZU3NKW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to