docstring

docstring

美  英

  • 网络文档字符串;文档字串;文档字元串

例句

However, I still cannot work up a great deal of enthusiasm for the function docstring style of parsers.

无论如何,我仍然不能对函数文档字符串风格的解析器具有太多热情。

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

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

Performs the conversion of a docstring test.

函数执行文档字符串测试的转换。

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

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

The docstring of each such method contains one or several assignments of patterns to names.

每个这样的方法的文档字符串都包含一个或多个模式到名称的分配。

If you follow the standard Python coding conventions using Docstrings, you will automatically have a solid foundation for documentation.

如果通过使用Docstring遵守标准的Python代码约定,就为生成文档建立了牢固的基础。

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

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

Such illustrations can also occur right inside of source code, in the docstring of a module, class, or function

这种说明还可以出现在源代码中模块、类或函数的docstring中