class Test:
def test_fun(self, a=0, b=0):
# code
Is there a way to check if test_fun
has no arguments given, test_fun()
, without comparing if a==0
and if b==0
?
class Test:
def test_fun(self, a=0, b=0):
# code
Is there a way to check if test_fun
has no arguments given, test_fun()
, without comparing if a==0
and if b==0
?