Re: Trying to learn about metaclasses

2011-07-25 Thread Victor Khangulov
Hi Steven, I too am just learning about metaclasses in Python and I found the example you posted to be excellent. I played around with it and noticed that the issue seems to be the double-underscore in front of the fields (cls.__fields = {}). If you change this parameter to use the single-u

Can Epydoc be used to document decorated function in Python?

2011-07-28 Thread Victor Khangulov
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