1153万例文収録!

「Docstring」に関連した英語例文の一覧と使い方 - Weblio英語例文検索


小窓モード

プレミアム

ログイン
設定

設定

Weblio 辞書 > 英和辞典・和英辞典 > Docstringの意味・解説 > Docstringに関連した英語例文

セーフサーチ:オン

不適切な検索結果を除外する

不適切な検索結果を除外しない

セーフサーチについて

Docstringを含む例文一覧と使い方

該当件数 : 27



例文

points to the contents of the docstring 例文帳に追加

docstring の内容を指すポインタ - Python

docstring- this entry is a string containing documentation for the method. 例文帳に追加

docstring- このエントリは、メソッドのドキュメントを含む文字列です。 - PEAR

Checking examples in docstrings. 例文帳に追加

docstring 内の例題をチェックする、 - Python

If doc is non-NULL, it will be used to define the docstring for the module.例文帳に追加

doc が NULLでない場合、モジュールの docstring として使われます。 - Python

例文

DocTest: A collection of Examples, typicallyextracted from a single docstring or text file. 例文帳に追加

DocTest: Example の集まり。 通常一つの docstring やテキストファイルから抽出されます。 - Python


例文

For example, suppose a.py contains just this module docstring:例文帳に追加

たとえば、以下のようなモジュールレベルの docstring の入ったファイルa.py があるとします: - Python

DocTestParser: Creates a DocTest object from a string (such as an object's docstring).例文帳に追加

DocTestParser: (オブジェクトにつけられた docstring のような)文字列からDocTest オブジェクトを生成します。 - Python

The default implementation of this method returns the first line of the test method's docstring, if available, or None.例文帳に追加

デフォルトでは、テストメソッドのdocstringの先頭の一行、またはNoneを返します。 - 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

例文

An optional pointer to a NUL-terminated C string giving the docstring for this type object.例文帳に追加

ポインタで、この型オブジェクトのdocstring を与える NUL 終端された C の文字列を指します。 - Python

5.2.1 Simple Usage: Checking 例文帳に追加

5.2.1 簡単な利用法: docstring 中の例題をチェックする - Python

5.2.1 Simple Usage: Checking Examples in Docstrings 例文帳に追加

5.2.1 簡単な利用法: docstring 中の例題をチェックする - Python

The synthesized Python script for the named object's docstring is written to a temporary file, and then that file is run under the control of the Python debugger,例文帳に追加

指定したオブジェクトの docstring から合成された Python スクリプトは一時ファイルに書き出され、その後 Python デバッガ - Python

5.2.3.2 How are Docstring Examples Recognized? 例文帳に追加

5.2.4 ドキュメンテーション文字列内の例をどうやって認識するのか? - Python

5.2.3.2 How are Docstring 例文帳に追加

5.2.4 ドキュメンテーション文字列内の例をどうやって認識するのか? - Python

The string that the test was extracted from, or `None` if the string is unavailable, or if the test was not extracted from a string.例文帳に追加

テストを取り出した docstring 自体を現す文字列です。 docstring 文字列を得られない場合や、文字列からテスト例題を取り出したのでない場合には None になります。 - Python

The file content is treated as if it were a single giant docstring; the file doesn'tneed to contain a Python program! For example, perhaps example.txtcontains this:例文帳に追加

ファイルの内容は一つの巨大な docstring であるかのように扱われます;ファイルが Python プログラムでなくてもよいのです! 例えば、example.txt には以下のような内容が入っているかもしれません: - 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

that consist of single docstrings, containing test cases for the named topics.例文帳に追加

この関数には、あるトピックに対応するテストケースの入った docstringが一つだけ入っています。 - Python

Both statements default to 'pass'; the timer function is platform-dependent (see the module doc string).例文帳に追加

文のデフォルト値は両方とも 'pass' で、タイマ関数はプラットフォーム依存(モジュールの docstring を参照)です。 - Python

Alternatively, you can double each backslash in the doctest version (and not use a raw string):例文帳に追加

こうする代わりに、(raw docstring を使わずに) doctest 版の中ではバックスラッシュを全て二重にしてもかまいません: - Python

The module docstring, and all function, class and method docstrings are searched.例文帳に追加

モジュールのドキュメンテーション文字列、全ての関数、クラスおよびメソッドのドキュメンテーション文字列が検索されます。 - 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

If you continue a line via backslashing in an interactive session,or for any other reason use a backslash, you should use a rawdocstring, which will preserve your backslashes exactly as you type them:例文帳に追加

対話セッションにおいて、バックスラッシュを用いて次の行に続ける場合や、その他の理由でバックスラッシュを用いる場合、raw docstring を使ってバックスラッシュを入力どおりに扱わせるようにせねばなりません: - Python

The DebugRunner class, and the special exceptions it may raise,are of most interest to testing framework authors, and will only besketched here. See the source code, and especially DebugRunner'sdocstring (which is a doctest!) for more details: 例文帳に追加

DebugRunner クラス自体やDebugRunner クラスが送出する特殊な例外は、テストフレームワークの作者にとって非常に興味のあるところでThe DebugRunner class, and the special exceptions it may raise,are of most interest to testing framework authors, and will only besketched here. 詳しくはソースコード、とりわけDebugRunner の docstring(それ自体 doctest ですよ!) を参照してください。 - 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.
  
Copyright © 2001 - 2008 by the PEAR Documentation Group.
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/ ).
こんにちは ゲスト さん

ログイン

Weblio会員(無料)になると

会員登録のメリット検索履歴を保存できる!

会員登録のメリット語彙力診断の実施回数増加!

無料会員に登録する
英→日 日→英
こんにちは ゲスト さん

ログイン

Weblio会員(無料)になると

会員登録のメリット検索履歴を保存できる!

会員登録のメリット語彙力診断の実施回数増加!

無料会員に登録する

©2026 GRAS Group, Inc.RSS