PyDoc and mod_python

John J. Lee jjl at
Sat Oct 14 17:56:39 CEST 2006

Fredrik Lundh <fredrik at> writes:

> durumdara wrote:
> > I need to write documentation for my mod_python website, for the
> > base classes, functions, modules.
> > The problem, that mod_python is imported "apache" that not existing
> > in the normal, pythonic way (only in Apache).
> > problem in c:\ - ImportError: No module named _apache
> > So I need a cheat, or I need to force the pydoc to avoid to parse
> > these modules...
> > Is anybody have an experience, how can I do it ?
> add a stub module, or switch to a documentation tool that uses source
> code inspection.

Fredrik is too modest to mention that his own PythonDoc does source
code inspection, as does epydoc (note the "e").


More information about the Python-list mailing list