How to get the formal args of a function object?

kj socyl at 987jk.com.invalid
Fri May 15 18:12:06 EDT 2009


In <mailman.162.1242334673.8015.python-list at python.org> Chris Rebert <clp2 at rebertia.com> writes:

>Take a look at inspect.getargspec(func):
>http://docs.python.org/library/inspect.html#inspect.getargspec

Thank you much, that did the trick.  And inspect is a very handy
module to know about.

kynn
-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.



More information about the Python-list mailing list