Since nobody denied (or confirmed) this is a bug, I will submit a bug report anyway.
Jay On Monday, June 18, 2012 4:17:52 PM UTC-2:30, Jay wrote: > > Consider the class: > > class EventProperty(property): > """ Used to declare events on the class ... """ > > def fire(self, *args, **kwargs): > """ Fire the event. """ > pass > > and the associated rst file: > > ************** > pkg.autodocbug > ************** > > .. automodule:: pkg.autodocbug > :members: > > The resulting (HTML) documentation seems to think EventProperty is a > function and does not document its members. Now, if I change the subclass > of EventProperty as follows: > > class EventProperty(object): > """ Used to declare events on the class ... """ > > def fire(self, *args, **kwargs): > """ Fire the event. """ > pass > > then the documentation is as expected. > > Is this a bug? If not, what am I doing wrong. If it is, I'll submit an > issue. > > Thanks, > > Jay > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/vb83u_ipf5MJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
