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 [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list