标签: python python-sphinx
有没有办法在sphinx中注释列表元素的类型,如
def list_returning_function(): """Returns an array of strings. :return: an array of strings :rtype: :class:`[str]` """ return ['a', 'b', 'c']