On Fri, 23 Oct 2020 at 09:39, Steven D'Aprano <st...@pearwood.info> 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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/E4XRNYEARYNGXQGL3XKTTJSSE2ZU3NKW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to