per page, with , order by , clip by
Results of 1 - 10 of about 39 for anext (0.011 sec.)
asyncio での開発 — Python 3.14.8 ドキュメント 11950
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... ield 10 finally : await asyncio . sleep ( 0 ) with asyncio . Runner () as runner : agen = agenfn () print ( runner . run ( anext ( agen ))) del agen 出力: 10 Exception ignored while closing generator < async_generator object agenfn at 0x000002F71CD10D ... sync def agenfn (): try : yield 10 finally : await asyncio . sleep ( 0 ) async def main (): agen = agenfn () print ( await anext ( agen )) del agen asyncio . run ( main ()) Avoid concurrent iteration and closure of the same generator ¶ Async generator ... s may be reentered while another __anext__() / athrow() / aclose() call is in progress. This may lead to an inconsistent state of the async generator and can cause ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
asyncio での開発 — Python 3.14.8 ドキュメント 11950
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » asyncio での開発 テーマ 自動 ライト ダーク | asyncio での開発 ¶ 非同期プ ... ield 10 finally : await asyncio . sleep ( 0 ) with asyncio . Runner () as runner : agen = agenfn () print ( runner . run ( anext ( agen ))) del agen 出力: 10 Exception ignored while closing generator < async_generator object agenfn at 0x000002F71CD10D ... sync def agenfn (): try : yield 10 finally : await asyncio . sleep ( 0 ) async def main (): agen = agenfn () print ( await anext ( agen )) del agen asyncio . run ( main ()) Avoid concurrent iteration and closure of the same generator ¶ Async generator ... s may be reentered while another __anext__() / athrow() / aclose() call is in progress. This may lead to an inconsistent state of the async generator and can cause ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
Type Object Structures — Python 3.14.8 ドキュメント 10713
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... rmal attribute lookup chain. sub-slots ¶ Slot 型 特殊メソッド am_await unaryfunc __await__ am_aiter unaryfunc __aiter__ am_anext unaryfunc __anext__ am_send sendfunc nb_add binaryfunc __add__ __radd__ nb_inplace_add binaryfunc __iadd__ nb_subtract bin ... のポインタを保持しています。 以下は構造体の定義です: typedef struct { unaryfunc am_await ; unaryfunc am_aiter ; unaryfunc am_anext ; sendfunc am_send ; } PyAsyncMethods ; unaryfunc PyAsyncMethods . am_await ¶ The corresponding slot ID Py_am_await is par ... 数のシグネチャは以下の通りです: PyObject * am_aiter ( PyObject * self ); Must return an asynchronous iterator object. See __anext__() for details. オブジェクトが非同期反復処理のプロトコルを実装していない場合、このスロットを NULL に設定します。 unaryfun ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 10713
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... rmal attribute lookup chain. sub-slots ¶ Slot 型 特殊メソッド am_await unaryfunc __await__ am_aiter unaryfunc __aiter__ am_anext unaryfunc __anext__ am_send sendfunc nb_add binaryfunc __add__ __radd__ nb_inplace_add binaryfunc __iadd__ nb_subtract bin ... のポインタを保持しています。 以下は構造体の定義です: typedef struct { unaryfunc am_await ; unaryfunc am_aiter ; unaryfunc am_anext ; sendfunc am_send ; } PyAsyncMethods ; unaryfunc PyAsyncMethods . am_await ¶ The corresponding slot ID Py_am_await is par ... 数のシグネチャは以下の通りです: PyObject * am_aiter ( PyObject * self ); Must return an asynchronous iterator object. See __anext__() for details. オブジェクトが非同期反復処理のプロトコルを実装していない場合、このスロットを NULL に設定します。 unaryfun ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 10306
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶ ... ] __await__ Coroutine [ 1 ] Awaitable send , throw close AsyncIterable [ 1 ] __aiter__ AsyncIterator [ 1 ] AsyncIterable __anext__ __aiter__ AsyncGenerator [ 1 ] AsyncIterator asend , athrow aclose , __aiter__ , __anext__ Buffer [ 1 ] __buffer__ 脚注 ... ronous iterable の定義も参照してください。 Added in version 3.5. class collections.abc. AsyncIterator ¶ __aiter__ および __anext__ メソッドを提供するクラスの ABC です。 asynchronous iterator の定義も参照してください。 Added in version 3.5. class colle ...
https://man.mtool.work/python/3.14/library/collections.abc.html
collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 10306
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶ ... ] __await__ Coroutine [ 1 ] Awaitable send , throw close AsyncIterable [ 1 ] __aiter__ AsyncIterator [ 1 ] AsyncIterable __anext__ __aiter__ AsyncGenerator [ 1 ] AsyncIterator asend , athrow aclose , __aiter__ , __anext__ Buffer [ 1 ] __buffer__ 脚注 ... ronous iterable の定義も参照してください。 Added in version 3.5. class collections.abc. AsyncIterator ¶ __aiter__ および __anext__ メソッドを提供するクラスの ABC です。 asynchronous iterator の定義も参照してください。 Added in version 3.5. class colle ...
https://man.mtool.work/python/3.14/library/collections.abc.html
用語集 — Python 3.14.8 ドキュメント 9898
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら ... hronous generator iterator ¶ An object created by an asynchronous generator function . これは asynchronous iterator で、 __anext__() メソッドを使って呼ばれると awaitable オブジェクトを返します。 この awaitable オブジェクトは、次の yield 式まで非同期ジ ... は一時的に処理を中断し、その実行状態 (ローカル変数や保留中の try 文を含む) を記憶します。 非同期ジェネレータイテレータ が __anext__() で返された他の awaitable で実際に再開する時には、その中断箇所が選ばれます。 PEP 492 および PEP 525 を参照してください。 ... iterator を返さなければなりません。 PEP 492 で導入されました。 asynchronous iterator ¶ (非同期イテレータ) __aiter__() と __anext__() メソッドを実装したオブジェクトです。 __anext__() は awaitable オブジェクトを返さなければなりません。 async for は Stop ...
https://man.mtool.work/python/3.14/glossary.html
用語集 — Python 3.14.8 ドキュメント 9068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら ... hronous generator iterator ¶ An object created by an asynchronous generator function . これは asynchronous iterator で、 __anext__() メソッドを使って呼ばれると awaitable オブジェクトを返します。 この awaitable オブジェクトは、次の yield 式まで非同期ジ ... は一時的に処理を中断し、その実行状態 (ローカル変数や保留中の try 文を含む) を記憶します。 非同期ジェネレータイテレータ が __anext__() で返された他の awaitable で実際に再開する時には、その中断箇所が選ばれます。 PEP 492 および PEP 525 を参照してください。 ... iterator を返さなければなりません。 PEP 492 で導入されました。 asynchronous iterator ¶ (非同期イテレータ) __aiter__() と __anext__() メソッドを実装したオブジェクトです。 __anext__() は awaitable オブジェクトを返さなければなりません。 async for は Stop ...
https://man.mtool.work/python/3.14/glossary.html
組み込み関数 — Python 3.14.8 ドキュメント 8661
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... す。それらをここにアルファベット順に挙げます。 組み込み関数 A abs() aiter() all() anext() any() ascii() B bin() bool() breakpoint() bytearray() bytes() C callable() chr() classmethod() compile() complex() D del ... 以下のコードと等価です: def all ( iterable ): for element in iterable : if not element : return False return True awaitable anext ( async_iterator , / ) ¶ awaitable anext ( async_iterator , default , / ) When awaited, return the next item from the give ... he iterator is exhausted . これは組み込みの next() 関数の非同期版であり、同じように動作します。 これは async_iterator の __anext__() メソッドを呼び出し、待ち受け可能オブジェクト ( awaitable ) を返します。待ち受けることによりイテレータの次の値を返します ...
https://man.mtool.work/python/3.14/builtins/functions.html
組み込み関数 — Python 3.14.8 ドキュメント 7831
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... す。それらをここにアルファベット順に挙げます。 組み込み関数 A abs() aiter() all() anext() any() ascii() B bin() bool() breakpoint() bytearray() bytes() C callable() chr() classmethod() compile() complex() D del ... 以下のコードと等価です: def all ( iterable ): for element in iterable : if not element : return False return True awaitable anext ( async_iterator , / ) ¶ awaitable anext ( async_iterator , default , / ) When awaited, return the next item from the give ... he iterator is exhausted . これは組み込みの next() 関数の非同期版であり、同じように動作します。 これは async_iterator の __anext__() メソッドを呼び出し、待ち受け可能オブジェクト ( awaitable ) を返します。待ち受けることによりイテレータの次の値を返します ...
https://man.mtool.work/python/3.14/builtins/functions.html
PREV 1 2 3 4 NEXT