On Mon, Dec 06, 2021 at 10:33:43AM +0100, Piotr Duda wrote:

> You can simply write
> def func(arg=>FUNC_DEFAULT_VALUE):

Doh! Of course you can! I knew that! :-(

-- 
Steve
_______________________________________________
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/VYQD7J4QBTY66TT7HMLGK7C33ISFNVVU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to