标签: python arguments default args
class Test: def test_fun(self, a=0, b=0): # code
是否可以在不比较test_fun和test_fun()的情况下检查if a==0是否没有给定的参数if b==0?
test_fun
test_fun()
if a==0
if b==0