Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 41 for docstring (0.026 sec.)
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 15837
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... は以下のような用途によく使われています: モジュールの docstring (ドキュメンテーション文字列) 中にある対話実行例のす ... べてが書かれている通りに動作するか検証することで、docstring の内容が最新かどうかチェックする。 テストファイルや ... は、特に役に立つ例があります。 26.3.1. 簡単な利用法: docstring 中の実行例をチェックする ¶ doctest を試す簡単な方法 ... octest . testmod () こうすると、 doctest は M 中の docstring を検査します。 モジュールをスクリプトとして実行する ...
https://man.plustar.jp/python/library/doctest.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 12605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... nic input] [clinic start generated code]*/ Cut the docstring and paste it in between the [clinic] lines, removi ... (Argument Clinic will preserve indents inside the docstring.) If the old docstring had a first line that looke ... e a function signature, throw that line away. (The docstring doesn't need it anymore—when you use help() on you ... open file. [clinic start generated code]*/ If your docstring doesn't have a "summary" line, Argument Clinic wil ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
モジュールオブジェクト (module object) — Python 3.6.5 ドキュメント 8455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 新しいモジュールの名前。 char* m_doc ¶ モジュールの docstring。たいてい docstring は PyDoc_STRVAR() を利用して生成 ... 実行します。 バージョン 3.5 で追加. int PyModule_SetDocString ( PyObject *module , const char *docstring ) ¶ mod ... ule の docstringdocstring に設定します。 この関数は、 PyModuleD ...
https://man.plustar.jp/python/c-api/module.html - [similar]
26. 開発ツール — Python 3.6.5 ドキュメント 8455
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... - 対話的な実行例をテストする 26.3.1. 簡単な利用法: docstring 中の実行例をチェックする 26.3.2. 簡単な利用法: テキ ... ェックする 26.3.3. doctest のからくり 26.3.3.1. どの docstring が検証されるのか? 26.3.3.2. docstring 内の実行例を ...
https://man.plustar.jp/python/library/development.html - [similar]
共通のオブジェクト構造体 (common object structure) — Python 3.6.5 ドキュメント 8159
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... しをどのように行うかを示すフラグビット ml_doc char * docstring の内容を指すポインタ ml_meth は C の関数ポインタで ... 専用か書込み可能なのかを示すビットフラグ doc char * docstring の内容を指すポインタ type はたくさんのCの型を意味す ... tted the attribute is readonly doc char * optional docstring closure void * optional function pointer, providin ...
https://man.plustar.jp/python/c-api/structures.html - [similar]
What's New in Python 2.1 — Python 3.6.5 ドキュメント 8159
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... はしばしば関数やメソッドについての情報を保持するのに docstring を使ってきました。というのも __doc__ だけが唯一関数 ... す。例えば、Zope ウェブアプリケーションでは、関数は docstring に情報を持つことによって公開アクセスのために安全か ... クされ、John Aycock の SPARK 解析フレームワークでは docstring は BNF 文法記述の部分を、解析のために保持していまし ... た。この「詰め込み」は嘆かわしいことです。docstring はまったくもって関数のドキュメンテーションを保持す ...
https://man.plustar.jp/python/whatsnew/2.1.html - [similar]
26.2. pydoc --- ドキュメント生成とオンラインヘルプシステム — Python 3.6.5 ドキ... 7957
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ての表示されるドキュメンテーションは、オブジェクトの docstring (つまり __doc__ 属性)に基き、またそれのドキュメント ... 可能なメンバが再帰的に続きます。 docstring がない場合、 pydoc は、クラス、関数、メソッドについ ...
https://man.plustar.jp/python/library/pydoc.html - [similar]
タプルオブジェクト (tuple object) — Python 3.6.5 ドキュメント 7849
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... するstruct sequence 型の名前 doc char * 生成する型のdocstringへのポインタ、または省略する場合は NULL fields PyStr ... e_UnnamedField を設定します doc char * フィールドのdocstring、省略する場合は NULL char* PyStructSequence_Unnamed ...
https://man.plustar.jp/python/c-api/tuple.html - [similar]
ライブラリと拡張 FAQ — Python 3.6.5 ドキュメント 7849
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... がついています。 doctest モジュールは、モジュールの docstring から使用例を見つけてそれらを実行し、出力を docstri ... のドキュメント文字列から HTML を生成できます。純粋に docstring から API ドキュメントを生成するには、他に epydoc と ... いう選択肢もあります。 Sphinx も docstring の内容を含めることができます。 一度に一つの押鍵を取 ...
https://man.plustar.jp/python/faq/library.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 7755
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ジョン 3.2 で追加. exception tokenize. TokenError ¶ docstring や複数行にわたることが許される式がファイル内のどこ ... ていない場合に送出されます。例えば: """Beginning of docstring もしくは: [ 1 , 2 , 3 閉じていないシングルクォート ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
PREV 1 2 3 4 5 NEXT