Changeset 3622

Show
Ignore:
Timestamp:
12/10/08 23:38:58 (7 weeks ago)
Author:
dmeyer
Message:

add sphinx support for wrap

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/utils.py

    r3582 r3622  
    365365    @return: a decorator which has the attributes of the decorated function. 
    366366    """ 
    367     if 'epydoc' not in sys.modules: 
     367    if 'epydoc' not in sys.modules and 'sphinx.builder' not in sys.modules: 
    368368        # epydoc not imported, so return a decorator that passes the func through. 
    369369        return lambda func: func