| 例文 |
docstringsを含む例文一覧と使い方
該当件数 : 12件
5.2.3.1 Which Docstrings Are 例文帳に追加
5.2.3.1 どのドキュメンテーション文字列が検証されるのか? - Python
5.2.1 Simple Usage: Checking Examples in Docstrings 例文帳に追加
5.2.1 簡単な利用法: docstring 中の例題をチェックする - Python
that consist of single docstrings, containing test cases for the named topics.例文帳に追加
この関数には、あるトピックに対応するテストケースの入った docstringが一つだけ入っています。 - Python
The module docstring, and all function, class and method docstrings are searched.例文帳に追加
モジュールのドキュメンテーション文字列、全ての関数、クラスおよびメソッドのドキュメンテーション文字列が検索されます。 - Python
A processing class used to extract the DocTests that are relevant to a given object, from its docstring and the docstrings of its contained objects.例文帳に追加
与えられたオブジェクトについて、その docstring か、そのオブジェクトに入っているオブジェクトの docstring からDocTest を抽出する処理クラスです。 - Python
DocTestFinder: Finds all docstrings in a given module,and uses a DocTestParser to create a DocTestfrom every docstring that contains interactive examples. 例文帳に追加
DocTestFinder: 与えられたモジュールから全てのdocstring を検索し、対話モードでの例題が入った各 docstring からDocTestParser を使ってDocTest を生成します。 - Python
To clean up docstrings that are indented to line up with blocks of code, any whitespace than can be uniformly removed from the second line onwards is removed.例文帳に追加
コードブロックに合わせてインデントされているdocstringを整形するため、2行目以降では行頭の空白は削除されます。 - Python
To check that a module's docstrings are up-to-date by verifying that all interactive examples still work as documented.例文帳に追加
モジュールの docstring (ドキュメンテーション文字列) 中にある対話モードでの使用例全てが書かれている通りに動作するかを検証することで、docstring の内容が最新のものになるよう保ちます。 - Python
This section examines in detail how doctest works: which docstrings it looks at, how it finds interactive examples, what execution context it uses, how it handles exceptions, and how option flags can be used to control its behavior.例文帳に追加
この節では、doctest のからくり: どの docstring を見に行くのか、どうやって対話操作例を見つけ出すのか、どんな実行コンテキストを使うのか、例外をどう扱うか、上記の振る舞いを制御するためにどのようなオプションフラグを使うか、について詳しく吟味します。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|