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


Groups > comp.lang.python > #10457 > unrolled thread

Can Epydoc be used to document decorated function in Python?

Started byVictor Khangulov <kilka.hamsa@gmail.com>
First post2011-07-28 11:17 -0400
Last post2011-07-28 11:17 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#10457 — Can Epydoc be used to document decorated function in Python?

FromVictor Khangulov <kilka.hamsa@gmail.com>
Date2011-07-28 11:17 -0400
SubjectCan Epydoc be used to document decorated function in Python?
Message-ID<mailman.1574.1311866244.1164.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web