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

Jeremy Sanders jeremy+plusnews at jeremysanders.net
Tue Feb 24 09:36:03 EST 2004


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

> hilfmir at 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




More information about the Python-list mailing list