Instead, use :py:attr: This example is great for me:
class SomeClass(object): """This is the docstring of SomeClass.""" @property def some_property(self): """This is the docstring of some_property""" return None def some_method(self): """This is the docstring of some_method. And this is a reference to :py:attr:`~some_property` """
source share