Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10457

Can Epydoc be used to document decorated function in Python?

Date 2011-07-28 11:17 -0400
From Victor Khangulov <kilka.hamsa@gmail.com>
Subject Can Epydoc be used to document decorated function in Python?
Newsgroups comp.lang.python
Message-ID <mailman.1574.1311866244.1164.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Can Epydoc be used to document decorated function in Python? Victor Khangulov <kilka.hamsa@gmail.com> - 2011-07-28 11:17 -0400

csiph-web