per page, with , order by , clip by
Results of 1 - 10 of about 81 for generators (0.007 sec.)
asyncio での開発 — Python 3.14.8 ドキュメント 14069
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... ent call last ): File "../t.py" , line 4 , in bug raise Exception ( "not consumed" ) Exception : not consumed Asynchronous generators best practices ¶ Writing correct and efficient asyncio code requires awareness of certain pitfalls. This section outlines ... essential best practices that can save you hours of debugging. Close asynchronous generators explicitly ¶ It is recommended to manually close the asynchronous generator . If a generator exits early - for example, du ... n g : break # Don't iterate until the end asyncio . run ( func ()) As noted above, the cleanup code for these asynchronous generators is deferred. The following example demonstrates that the finalization of an asynchronous generator can occur in an unexpec ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
asyncio での開発 — Python 3.14.8 ドキュメント 14069
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... ent call last ): File "../t.py" , line 4 , in bug raise Exception ( "not consumed" ) Exception : not consumed Asynchronous generators best practices ¶ Writing correct and efficient asyncio code requires awareness of certain pitfalls. This section outlines ... essential best practices that can save you hours of debugging. Close asynchronous generators explicitly ¶ It is recommended to manually close the asynchronous generator . If a generator exits early - for example, du ... n g : break # Don't iterate until the end asyncio . run ( func ()) As noted above, the cleanup code for these asynchronous generators is deferred. The following example demonstrates that the finalization of an asynchronous generator can occur in an unexpec ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9206
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... body , expr orelse ) | Dict ( expr ?* keys , expr * values ) | Set ( expr * elts ) | ListComp ( expr elt , comprehension * generators ) | SetComp ( expr elt , comprehension * generators ) | DictComp ( expr key , expr value , comprehension * generators ) | ... GeneratorExp ( expr elt , comprehension * generators ) -- the grammar constrains where yield expressions can occur | Await ( expr value ) | Yield ( expr ? value ) | YieldFrom ... ce( lower=Constant(value=1), upper=Constant(value=2)), ctx=Load())) 内包表記 (Comprehension) ¶ class ast. ListComp ( elt , generators ) ¶ class ast. SetComp ( elt , generators ) ¶ class ast. GeneratorExp ( elt , generators ) ¶ class ast. DictComp ( key , v ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9206
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... body , expr orelse ) | Dict ( expr ?* keys , expr * values ) | Set ( expr * elts ) | ListComp ( expr elt , comprehension * generators ) | SetComp ( expr elt , comprehension * generators ) | DictComp ( expr key , expr value , comprehension * generators ) | ... GeneratorExp ( expr elt , comprehension * generators ) -- the grammar constrains where yield expressions can occur | Await ( expr value ) | Yield ( expr ? value ) | YieldFrom ... ce( lower=Constant(value=1), upper=Constant(value=2)), ctx=Load())) 内包表記 (Comprehension) ¶ class ast. ListComp ( elt , generators ) ¶ class ast. SetComp ( elt , generators ) ¶ class ast. GeneratorExp ( elt , generators ) ¶ class ast. DictComp ( key , v ...
https://man.mtool.work/python/3.14/library/ast.html
__future__ --- future 文の定義 — Python 3.14.8 ドキュメント 9070
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __future__ --- future 文の定義 テーマ 自動 ライト ダーク | __future__ --- future 文の定義 ¶ ソースコード ... ure optional in mandatory in effect __future__. nested_scopes ¶ 2.1.0b1 2.2 PEP 227 : Statically Nested Scopes __future__. generators ¶ 2.2.0a1 2.3 PEP 255 : Simple Generators __future__. division ¶ 2.2.0a2 3.0 PEP 238 : Changing the Division Operator __fu ... PEP 3112 : Bytes literals in Python 3000 __future__. generator_stop ¶ 3.5.0b1 3.7 PEP 479 : StopIteration handling inside generators __future__. annotations ¶ 3.7.0b1 Never [ 1 ] PEP 563 : Postponed evaluation of annotations , PEP 649 : Deferred evaluatio ... feature annotations インポート compiler statement mandatory OptionalRelease 新機能 statements they module were prior using generators print literals evaluation CompilerFlag 記録 目次 __future__ --- future 文の定義 モジュールコンテンツ 前のトピックへ traceb ...
https://man.mtool.work/python/3.14/library/__future__.html
__future__ --- future 文の定義 — Python 3.14.8 ドキュメント 8278
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __future__ --- future 文の定義 テーマ 自動 ライト ダーク | __future__ --- future 文の定義 ¶ ソースコード ... ure optional in mandatory in effect __future__. nested_scopes ¶ 2.1.0b1 2.2 PEP 227 : Statically Nested Scopes __future__. generators ¶ 2.2.0a1 2.3 PEP 255 : Simple Generators __future__. division ¶ 2.2.0a2 3.0 PEP 238 : Changing the Division Operator __fu ... PEP 3112 : Bytes literals in Python 3000 __future__. generator_stop ¶ 3.5.0b1 3.7 PEP 479 : StopIteration handling inside generators __future__. annotations ¶ 3.7.0b1 Never [ 1 ] PEP 563 : Postponed evaluation of annotations , PEP 649 : Deferred evaluatio ...
https://man.mtool.work/python/3.14/library/__future__.html
collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 8278
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶ ... 拡張するプロトコルを実装する、 ジェネレータ クラスの ABC です。 Generator を型アノテーションで使う方法の詳細は、 Annotating generators and coroutines を参照してください。 Added in version 3.5. class collections.abc. Sequence ¶ class collections.abc. Mutable ... Coroutine オブジェクトとインスタンスは、すべてこの ABC のインスタンスです。 注釈 In CPython, generator-based coroutines ( generators decorated with @types.coroutine ) are awaitables , even though they do not have an __await__() method. Using isinstance(ge ... Coroutine のすべてのインスタンスは、 Awaitable のインスタンスでもあります。 注釈 In CPython, generator-based coroutines ( generators decorated with @types.coroutine ) are awaitables , even though they do not have an __await__() method. Using isinstance(ge ...
https://man.mtool.work/python/3.14/library/collections.abc.html
collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 8278
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶ ... 拡張するプロトコルを実装する、 ジェネレータ クラスの ABC です。 Generator を型アノテーションで使う方法の詳細は、 Annotating generators and coroutines を参照してください。 Added in version 3.5. class collections.abc. Sequence ¶ class collections.abc. Mutable ... Coroutine オブジェクトとインスタンスは、すべてこの ABC のインスタンスです。 注釈 In CPython, generator-based coroutines ( generators decorated with @types.coroutine ) are awaitables , even though they do not have an __await__() method. Using isinstance(ge ... Coroutine のすべてのインスタンスは、 Awaitable のインスタンスでもあります。 注釈 In CPython, generator-based coroutines ( generators decorated with @types.coroutine ) are awaitables , even though they do not have an __await__() method. Using isinstance(ge ...
https://man.mtool.work/python/3.14/library/collections.abc.html
inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 7758
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト ... ータ __name__ name __qualname__ qualified name gi_frame フレーム gi_running ジェネレータが実行中かどうか gi_suspended is the generator suspended? gi_code コード gi_yieldfrom yield from でイテレートされているオブジェクト、または None 非同期ジェネレータ __name ... wait 待機されているオブジェクト、または None ag_frame フレーム ag_running ジェネレータが実行中かどうか ag_suspended is the generator suspended? ag_code コード コルーチン __name__ name __qualname__ qualified name cr_await 待機されているオブジェクト、または ... た。 バージョン 3.10 で変更: 関数に __builtins__ 属性を追加しました。 バージョン 3.11 で変更: Add gi_suspended attribute to generators. バージョン 3.11 で変更: Add cr_suspended attribute to coroutines. バージョン 3.12 で変更: Add ag_suspended attribute to a ...
https://man.mtool.work/python/3.14/library/inspect.html
inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 7758
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト ... ータ __name__ name __qualname__ qualified name gi_frame フレーム gi_running ジェネレータが実行中かどうか gi_suspended is the generator suspended? gi_code コード gi_yieldfrom yield from でイテレートされているオブジェクト、または None 非同期ジェネレータ __name ... wait 待機されているオブジェクト、または None ag_frame フレーム ag_running ジェネレータが実行中かどうか ag_suspended is the generator suspended? ag_code コード コルーチン __name__ name __qualname__ qualified name cr_await 待機されているオブジェクト、または ... た。 バージョン 3.10 で変更: 関数に __builtins__ 属性を追加しました。 バージョン 3.11 で変更: Add gi_suspended attribute to generators. バージョン 3.11 で変更: Add cr_suspended attribute to coroutines. バージョン 3.12 で変更: Add ag_suspended attribute to a ...
https://man.mtool.work/python/3.14/library/inspect.html
PREV 1 2 3 4 5 6 7 8 9 NEXT