PyDoc and mod_python
John J. Lee
jjl at pobox.com
Sat Oct 14 11:56:39 EDT 2006
Fredrik Lundh <fredrik at pythonware.com> 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:\test.py - 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").
John
More information about the Python-list
mailing list