这是Google样式文档字符串的摘录:
def function_with_types_in_docstring(param1,param2): “”“示例函数,其文档字符串中记录了类型。
`PEP 484`_ type annotations are supported. If attribute,parameter,and
return types are annotated according to `PEP 484`_,they do not need to be
included in the docstring:
Args:
param1 (int): The first parameter.
param2 (str): The second parameter.
Returns:
bool: The return value. True for success,False otherwise.
.. _PEP 484:
https://www.python.org/dev/peps/pep-0484/
"""
如果描述跨越一行,如何格式化args?