2 ms·
>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
by coldtea 5y ago
>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/ https://www.python.org/dev/peps/pep-0671/