📜  python get function docstring - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:23.630000             🧑  作者: Mango

代码示例2
"""The module's docstring"""

class MyClass:
    """The class's docstring"""

    def my_method(self):
        """The method's docstring"""

def my_function():
    """The function's docstring"""