Python学习笔记#函数中使用文档,让你的函数更容易理解
摘要:>>> def intadd(a,b): 'this is a test of the doc of function' return a+b >>> intadd(2,3) 5 >>> intadd.__doc__ 'this is a test of the doc of function' >>>
阅读全文
posted @ 2016-03-31 22:20
浙公网安备 33010602011771号