On 30/11/20 9:46 am, David Mertz wrote:
def f(a, b, c=21, _foo=foo, _bar=bar):
Of course I know that users COULD call `f(1, 2, _foo=something_else)`.
But we have asked them not to politely, and "we're all consenting adults."
This doesn't work so well if the function takes *args or **kwds
arguments.
--
Greg
_______________________________________________
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/QWGJD65BDSTQHANNWFFUNUPGW4KYA3K3/
Code of Conduct: http://python.org/psf/codeofconduct/