[Python-ideas] built-in argspec for function objects (original) (raw)

nbv4 nbvfour at gmail.com
Sun Jan 27 00:27:39 CET 2013


def my_function(a, b=c): pass

myfunction.args ['a'] myfunction.kwargs {'b': c} myfunction.allargs ['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>



More information about the Python-ideas mailing list