PyDoc and mod_python

D

durumdara

Hi !

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).

If my source is containing a tag that use this module, or it's
submodule, the pydoc is not working.

### test.py ###
from mod_python import apache
....

The result is.
c:\>c:\python24\Lib\pydoc.py c:\test.py
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 ?

Thanks for it:
dd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top