PyDoc and mod_python
Fredrik Lundh
fredrik at pythonware.com
Wed Oct 11 04:15:05 EDT 2006
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.
</F>
More information about the Python-list
mailing list