News for hackers. Stuff that matters.
Re:Strict Python function parameters by coldtea on Sunday January 23, 2022 @05:16PM (#30051068)
>I'm curious if anyones found a good solution to Python default args?

Apart from the common solutions (initialize to None and check, etc.) this is exactly what this PEP is about: https://www.python.org/dev/peps/pep-0671/

There are no comments on this comment yet.