python DocStrings (文档字符串)
提问人:杨紫红发布时间:2020-11-20
def func():
'''This is self-defined function
Do nothing'''
pass
print func.__doc__
#This is self-defined function
#
#Do nothing
继续查找其他问题的答案?
相关视频回答
回复(0)
def func():
'''This is self-defined function
Do nothing'''
pass
print func.__doc__
#This is self-defined function
#
#Do nothing
点击加载更多评论>>