4 ms·
And you can use * for the reverse (every parameter from here on needs to be keyword-only). https://docs.python.org/3.12/reference/compound_stmts.html#function-
by lordgrenville 1y ago
And you can use * for the reverse (every parameter from here on needs to be keyword-only).
https://docs.python.org/3.12/reference/compound_stmts.html#function-definitions https://docs.python.org/3.12/reference/compound_stmts.html#f...
- mckirk 1y agoThat feature I'm using regularly and can recommend doing so, e.g. when passing boolean flags to functions, to clarify their meaning at the call-site by ensuring they have to be passed by name.