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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130126/5726efc7/attachment.html>