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