[Python-ideas] built-in argspec for function objects (original) (raw)
nbv4 nbvfour at gmail.com
Sun Jan 27 00:27:39 CET 2013
- Previous message: [Python-ideas] complex number and fractional exponent
- Next message: [Python-ideas] built-in argspec for function objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-ideas] complex number and fractional exponent
- Next message: [Python-ideas] built-in argspec for function objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]