PyDoc and mod_python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • durumdara

    #1

    PyDoc and mod_python

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