def func():
print("my func")
This would work for the example given of a func with no args.
But cannot check it called with the right number.
def func(*args):
print("my func")
A signature like this would be a hard nut to crack.
def func(fixed, *args):
print("my func", fixed, args)
Barry