python DocStrings (文檔字符串)
提問人:楊紫紅發(fā)布時間:2020-11-20
def func():
'''This is self-defined function
Do nothing'''
pass
print func.__doc__
#This is self-defined function
#
#Do nothing
繼續(xù)查找其他問題的答案?
相關視頻回答
def func():
'''This is self-defined function
Do nothing'''
pass
print func.__doc__
#This is self-defined function
#
#Do nothing
點擊加載更多評論>>