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/-/p3V0Xw1S5u0J.
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.

Reply via email to