文档字符串依然作为文档来使用的。
文档字符串:一个在函数定义的顶部的字符串,讲解函数的交互界面。
A string that appears at the top of a function definition to document the function's interface.
有些文档字符串工具可以在线处理或打印文档,或让用户交互的浏览代码;
There are tools which use docstrings to automatically produce online or printed documentation, or to let the user interactively browse through code;
应用推荐