(original) (raw)
def my_function(a, b=c):
pass
>>> my_function.args
['a']
>>> my_function.kwargs
{'b': c}
>>> my_function.all_args
['a', 'b']
What do you all think? Argspec is kind of unwieldy, this I think looks a lot nicer.
def my_function(a, b=c):