Re: c/c++ extensions and help()
- From: Robert Kern <rkern@xxxxxxxx>
- Date: Thu, 28 Jul 2005 16:02:53 -0700
Lenny G. wrote:
Is there a way to make a c/c++ extension have a useful method signature? Right now, help(myCFunc) shows up like:
myCFunc(...) description of myCFunc
I'd like to be able to see:
myCFunc(myArg1, myArg2) description of myCFunc
Is this currently possible?
There really isn't a way to let the inspect module know about extension function arguments. Just put it in the docstring.
-- Robert Kern rkern@xxxxxxxx
"In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter
.
- References:
- c/c++ extensions and help()
- From: Lenny G.
- c/c++ extensions and help()
- Prev by Date: Re: pySerial Windows write problem
- Next by Date: Re: Adding code and methods to a class dynamically
- Previous by thread: c/c++ extensions and help()
- Next by thread: Python fails compiling in socket extension
- Index(es):