Results of 1 - 10 of about 129 for spec (0.011 sec.)
- unittest.mock --- モックオブジェクトライブラリ — Python 3.14.8 ドキュメント 11489
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- モックオブジェクトライブラリ テーマ 自動 ライト ダーク | unittest.mock --- モックオブジェクトライブラ
...tion, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way. 加えて、 mock はテストのスコープ内にあるモジュールやクラスの...ect = [ 5 , 4 , 3 , 2 , 1 ] >>> mock (), mock (), mock () (5, 4, 3) モックには多くの設定法や挙動の制御法があります。例えば spec 引数によって別のオブジェクトからの仕様を受け取るよう設定できます。 spec にないモックの属性やメソッドにアクセスを試みた場合...) >>> str ( mock ) 'wheeeeee' テスト内のモックオブジェクトが置換するオブジェクトと同じ API を持つことを保証するには、 auto-speccing を使うことができます。パッチをあてる autospec 引数、または create_autospec() 関数を通じて auto-speccing は行われます。... - https://man.mtool.work/python/3.14/library/unittest.mock.html
- unittest.mock --- モックオブジェクトライブラリ — Python 3.14.8 ドキュメント 11489
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- モックオブジェクトライブラリ テーマ 自動 ライト ダーク | unittest.mock --- モックオブジェクトライブラ
...tion, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way. 加えて、 mock はテストのスコープ内にあるモジュールやクラスの...ect = [ 5 , 4 , 3 , 2 , 1 ] >>> mock (), mock (), mock () (5, 4, 3) モックには多くの設定法や挙動の制御法があります。例えば spec 引数によって別のオブジェクトからの仕様を受け取るよう設定できます。 spec にないモックの属性やメソッドにアクセスを試みた場合...) >>> str ( mock ) 'wheeeeee' テスト内のモックオブジェクトが置換するオブジェクトと同じ API を持つことを保証するには、 auto-speccing を使うことができます。パッチをあてる autospec 引数、または create_autospec() 関数を通じて auto-speccing は行われます。... - https://man.mtool.work/python/3.14/library/unittest.mock.html
- importlib --- import の実装 — Python 3.14.8 ドキュメント 10453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib --- import の実装 テーマ 自動 ライト ダーク | importlib --- import の実装 ¶ Added in version 3.1
...オブジェクトを実装しやすくすることです。 Three, the package contains modules exposing additional functionality for managing aspects of Python packages: importlib.metadata presents access to metadata from third-party distributions. importlib.resources p...es routines for accessing non-code "resources" from Python packages. 参考 import 文 import 文の言語リファレンス。 Packages specification パッケージの元の仕様。幾つかの動作はこの仕様が書かれた頃から変更されています (例: sys.modules で None に基づくリダ...EP 366 main モジュールの明示的な相対インポート PEP 420 暗黙的な名前空間パッケージ PEP 451 インポートシステムのための ModuleSpec 型 PEP 488 PYO ファイルの撤廃 PEP 489 複数フェーズでの拡張モジュールの初期化 PEP 552 決定論的 pyc PEP 3120 デフォルトのソー... - https://man.mtool.work/python/3.14/library/importlib.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 10453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...treated as an implicit namespace package (a "namespace subpackage") rooted in that parent. See PEP 420 for the underlying specification. 5.2.2. 名前空間パッケージ ¶ 名前空間パッケージは様々な ポーション を寄せ集めたもので、それぞれのポーションはサブ...とができます。 ファインダーは実際にはモジュールをロードしません。指定されたモジュールが見つかった場合、ファインダーは module spec (モジュール仕様)、すなわちモジュールのインポート関連の情報をカプセル化したものを返します。モジュールのロード時にインポート...queried in order to see if they know how to handle the named module. Meta path finders must implement a method called find_spec() which takes three arguments: a name, an import path, and (optionally) a target module. The meta path finder can use any... - https://man.mtool.work/python/3.14/reference/import.html
- importlib --- import の実装 — Python 3.14.8 ドキュメント 10453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib --- import の実装 テーマ 自動 ライト ダーク | importlib --- import の実装 ¶ Added in version 3.1
...オブジェクトを実装しやすくすることです。 Three, the package contains modules exposing additional functionality for managing aspects of Python packages: importlib.metadata presents access to metadata from third-party distributions. importlib.resources p...es routines for accessing non-code "resources" from Python packages. 参考 import 文 import 文の言語リファレンス。 Packages specification パッケージの元の仕様。幾つかの動作はこの仕様が書かれた頃から変更されています (例: sys.modules で None に基づくリダ...EP 366 main モジュールの明示的な相対インポート PEP 420 暗黙的な名前空間パッケージ PEP 451 インポートシステムのための ModuleSpec 型 PEP 488 PYO ファイルの撤廃 PEP 489 複数フェーズでの拡張モジュールの初期化 PEP 552 決定論的 pyc PEP 3120 デフォルトのソー... - https://man.mtool.work/python/3.14/library/importlib.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 10453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...treated as an implicit namespace package (a "namespace subpackage") rooted in that parent. See PEP 420 for the underlying specification. 5.2.2. 名前空間パッケージ ¶ 名前空間パッケージは様々な ポーション を寄せ集めたもので、それぞれのポーションはサブ...とができます。 ファインダーは実際にはモジュールをロードしません。指定されたモジュールが見つかった場合、ファインダーは module spec (モジュール仕様)、すなわちモジュールのインポート関連の情報をカプセル化したものを返します。モジュールのロード時にインポート...queried in order to see if they know how to handle the named module. Meta path finders must implement a method called find_spec() which takes three arguments: a name, an import path, and (optionally) a target module. The meta path finder can use any... - https://man.mtool.work/python/3.14/reference/import.html
- 型オブジェクト — Python 3.14.8 ドキュメント 8626
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...placement for accessing tp_dict directly. The returned dictionary must be treated as read-only. This function is meant for specific embedding and language-binding cases, where direct access to the dict is necessary and indirect access (e.g. via the p...ョン 3.10 より). Return the module object associated with the given type when the type was created using PyType_FromModuleAndSpec() . The returned reference is borrowed from type , and will be valid as long as you hold a reference to type . Do not rele...ts are used to create heap types . PyObject * PyType_FromMetaclass ( PyTypeObject * metaclass , PyObject * module , PyType_Spec * spec , PyObject * bases ) ¶ 次に属します: Stable ABI (バージョン 3.12 より). Create and return a heap type from the spec... - https://man.mtool.work/python/3.14/c-api/type.html
- 型オブジェクト — Python 3.14.8 ドキュメント 8626
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...placement for accessing tp_dict directly. The returned dictionary must be treated as read-only. This function is meant for specific embedding and language-binding cases, where direct access to the dict is necessary and indirect access (e.g. via the p...ョン 3.10 より). Return the module object associated with the given type when the type was created using PyType_FromModuleAndSpec() . The returned reference is borrowed from type , and will be valid as long as you hold a reference to type . Do not rele...ts are used to create heap types . PyObject * PyType_FromMetaclass ( PyTypeObject * metaclass , PyObject * module , PyType_Spec * spec , PyObject * bases ) ¶ 次に属します: Stable ABI (バージョン 3.12 より). Create and return a heap type from the spec... - https://man.mtool.work/python/3.14/c-api/type.html
- runpy --- Python モジュールの位置特定と実行 — Python 3.14.8 ドキュメント 8309
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » runpy --- Python モジュールの位置特定と実行 テーマ 自動 ライト ダーク | runpy --- Python モジュールの位置特
...ions: runpy. run_module ( mod_name , init_globals = None , run_name = None , alter_sys = False ) ¶ Execute the code of the specified module and return the resulting module's globals dictionary. The module's code is first located using the standard im...pre-populate the module's globals dictionary before the code is executed. init_globals will not be modified. If any of the special global variables below are defined in init_globals , those definitions are overridden by run_module() . The special glo...bal variables __name__ , __spec__ , __file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is execute... - https://man.mtool.work/python/3.14/library/runpy.html
- runpy --- Python モジュールの位置特定と実行 — Python 3.14.8 ドキュメント 8309
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » runpy --- Python モジュールの位置特定と実行 テーマ 自動 ライト ダーク | runpy --- Python モジュールの位置特
...ions: runpy. run_module ( mod_name , init_globals = None , run_name = None , alter_sys = False ) ¶ Execute the code of the specified module and return the resulting module's globals dictionary. The module's code is first located using the standard im...pre-populate the module's globals dictionary before the code is executed. init_globals will not be modified. If any of the special global variables below are defined in init_globals , those definitions are overridden by run_module() . The special glo...bal variables __name__ , __spec__ , __file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is execute... - https://man.mtool.work/python/3.14/library/runpy.html