get function arguments

Steven Bethard steven.bethard at gmail.com
Tue Nov 16 15:41:43 EST 2004


Jorge Godoy <godoy <at> ieee.org> writes:
> 
> Steven Bethard <steven.bethard <at> gmail.com> writes:
> > I don't know where (if?) the func_code attributes are documented, but you 
> > should be able to figure them out with a little object introspection (e.g. 
> > dir or an editor like PythonWin that does some code completion).
> 
> You could have asked in the interactive prompt as well 

Sorry, I guess I wasn't clear.  That's what I meant when I said "you should be
able to figure them out with a little object introspection (e.g. dir..."  The
interactive prompt (and the dir or help function) is almost always the right
answer to find out about object attributes in Python.  =)

Steve




More information about the Python-list mailing list