标签:
>>> 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‘ >>>
Python学习笔记#函数中使用文档,让你的函数更容易理解
原文地址:http://www.cnblogs.com/quant-lee/p/5343095.html