Can Epydoc be used to document decorated function in Python?

Victor Khangulov kilka.hamsa at gmail.com
Thu Jul 28 11:17:24 EDT 2011


Hello,

is there a way to use epydoc to document a Python function that has been 
decorated?

@decorator
def func1():
     """ My function func1 """
     print "In func1"

The resulting output of epydoc is that func1 gets listed as a variable 
with no description.
I am using Epydoc v3.0.1.

Thanks

-victor



More information about the Python-list mailing list