Re: How can i get the parameternames of a non documented function ?

From: Jeremy Sanders (jeremy+plusnews_at_jeremysanders.net)
Date: 02/24/04


Date: Tue, 24 Feb 2004 14:36:03 +0000

On Tue, 24 Feb 2004 13:49:33 +0000, Michael Hudson wrote:

> hilfmir@gmx.at (mzo) writes:
>> I import a module (wrapped from c code) and have no documentation of
>> it. How can i find out the name of the parameters / head of the
>> functions ?
>
> You can't. Sorry.

Is that correct?

Couldn't you use inspect.getargspec(func) ?

It doesn't say you can't use it on wrapped C code.

Jeremy