go top

docstrings

网络释义

  文档字符串

19、DocStrings(文档字符串)是一个重要的工具,由于它使得程序文档更加简单易懂,应该尽量使用它。

基于118个网页-相关网页

  文档注释

文档注释(Docstrings) & 注释 文档注释 = 用于解释如何使用代码

基于12个网页-相关网页

双语例句

  • The main element of good Python documentation is the use of so-called "docstrings."

    Python 文档之所以“优秀”的主要因素是使用所谓的“docstring”。

    youdao

  • First, much of the work done by a concrete class is specified in the docstrings of methods.

    首先,具体类所完成的大部分工作都在方法的文档字符串(docstring)中指定。

    youdao

  • When they occur inside of docstrings inside of Python source code, like in the second example, they are called doctests.

    当它们出现在python源代码中的docstring中时(比如第二个示例),它们就被称为doctest。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定