返回顶部

收藏

Specify Documentation Strings during function definition

更多
# Here is an example of a multi-line docstring:

def my_function():
     '''Do nothing, but document it.

     No, really, it doesn't do anything.
     '''
     pass

print my_function.__doc__

标签:Python,基础

收藏

0人收藏

支持

0

反对

0

发表评论