Python Forum
Python Forum
>
General
>
News and Discussions
> omitting arguments in function/method calls
Full Version:
omitting arguments in function/method calls
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Pages:
1
2
Gribouillis
Nov-24-2019, 10:13 PM
Instead of
fun(a,,c)
, the pythonian philosophy would be to call
fun(a, None, c)
. Of course, the function needs to be ready for such calls.
Pages:
1
2
Python Forum
>
General
>
News and Discussions
> omitting arguments in function/method calls