pydoc with METH_VARGS

Farshid Lashkari no at spam.com
Mon Jun 25 14:50:05 EDT 2007


Stuart wrote:
> I'm asking if there's some sort of commenting or input file or
> something to customize the output pydoc generates. Thanks.

AFAIK, there is no way to do this. However, you can edit the doc string 
for your function, which can include the argument list. I believe this 
is what most of Python's built-in functions do.

-Farshid



More information about the Python-list mailing list