我有一个Python模块,my_module.py,看起来像这样: import numpy
class A(numpy.ndarray):
""" Extension for illustration. """
pass
class B:
""" My base class. """
def x():
""" Does the thing.
格式化我有以下类: class A:
def x():
""" Do the thing. """
class B(A):
def x():
"""
Do the thing, but better than the :py:meth:`parent <A.x>`
"""
整个模块是autodoc编辑。我希望链接到父代实现x