docstring
美
英 
例句
However, I still cannot work up a great deal of enthusiasm for the function docstring style of parsers.
無論如何,我仍然不能對函數(shù)文檔字符串風格的解析器具有太多熱情。
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.
函數(shù)執(zhí)行文檔字符串測試的轉換。
The main element of good Python documentation is the use of so-called "docstrings. "
Python文檔之所以“優(yōu)秀”的主要因素是使用所謂的“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.
當它們出現(xiàn)在Python源代碼中的docstring中時(比如第二個示例),它們就被稱為doctest。
Such illustrations can also occur right inside of source code, in the docstring of a module, class, or function
這種說明還可以出現(xiàn)在源代碼中模塊、類或函數(shù)的docstring中