Results of 1 - 10 of about 166 for Iterator (0.007 sec.)
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 12936
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...シーケンスを作成します。同じことを Python では map() と count() を組合せて map(f, count()) という形で実現できます。 General iterators: イテレータ 引数 結果 使用例 accumulate() p [,func] p0, p0+p1, p0+p1+p2, ... accumulate([1,2,3,4,5]) → 1 3 6 10 15 batche..._with_replacement('ABCD', 2) AA AB AC AD BB BC BD CC CD DD Itertool関数 ¶ The following functions all construct and return iterators. Some provide streams of infinite length, so they should only be accessed by functions or loops that truncate the stream....itertools. accumulate ( iterable [ , function , * , initial=None ] ) ¶ Make an iterator that returns accumulated sums or accumulated results from other binary functions. The function defaults to addition. The f... - https://man.mtool.work/python/3.14/library/itertools.html
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 12936
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...シーケンスを作成します。同じことを Python では map() と count() を組合せて map(f, count()) という形で実現できます。 General iterators: イテレータ 引数 結果 使用例 accumulate() p [,func] p0, p0+p1, p0+p1+p2, ... accumulate([1,2,3,4,5]) → 1 3 6 10 15 batche..._with_replacement('ABCD', 2) AA AB AC AD BB BC BD CC CD DD Itertool関数 ¶ The following functions all construct and return iterators. Some provide streams of infinite length, so they should only be accessed by functions or loops that truncate the stream....itertools. accumulate ( iterable [ , function , * , initial=None ] ) ¶ Make an iterator that returns accumulated sums or accumulated results from other binary functions. The function defaults to addition. The f... - https://man.mtool.work/python/3.14/library/itertools.html
- イテレータプロトコル (iterator protocol) — Python 3.14.8 ドキュメント 10017
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » イテレータプロトコル (iterator protocol) テーマ 自動 ライト ダーク | イテレータ
...プロトコル (iterator protocol) ¶ イテレータを扱うための固有の関数は二つあります。 int PyIter_Check ( PyObject * o ) ¶ 次に属します: Stable ABI...heck ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Return non-zero if the object o provides the AsyncIterator protocol, and 0 otherwise. This function always succeeds. Added in version 3.10. int PyIter_NextItem ( PyObject * iter , P...) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Return 1 and set item to a strong reference of the next value of the iterator iter on success. Return 0 and set item to NULL if there are no remaining values. Return -1 , set item to NULL and set an e... - https://man.mtool.work/python/3.14/c-api/iter.html
- イテレータプロトコル (iterator protocol) — Python 3.14.8 ドキュメント 9961
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » イテレータプロトコル (iterator protocol) テーマ 自動 ライト ダーク | イテレータ
...プロトコル (iterator protocol) ¶ イテレータを扱うための固有の関数は二つあります。 int PyIter_Check ( PyObject * o ) ¶ 次に属します: Stable ABI...heck ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Return non-zero if the object o provides the AsyncIterator protocol, and 0 otherwise. This function always succeeds. Added in version 3.10. int PyIter_NextItem ( PyObject * iter , P...) ¶ 次に属します: Stable ABI (バージョン 3.14 より). Return 1 and set item to a strong reference of the next value of the iterator iter on success. Return 0 and set item to NULL if there are no remaining values. Return -1 , set item to NULL and set an e... - https://man.mtool.work/python/3.14/c-api/iter.html
- イテレータオブジェクト (iterator object) — Python 3.14.8 ドキュメント 9143
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » イテレータオブジェクト (iterator object) テーマ 自動 ライト ダーク | イテレータオブジ
...ェクト (iterator object) ¶ Python では二種類のイテレータオブジェクトを提供しています。一つ目はシーケンスイテレータで、 __getitem__() メソッ...ck ( PyObject * o ) ¶ Return true if the object o is an instance of a range object. This function always succeeds. Builtin Iterator Types ¶ These are built-in iteration types that are included in Python's C API, but provide no additional functions. They...bject PyReversed_Type ¶ 次に属します: Stable ABI . reversed PyTypeObject PyZip_Type ¶ 次に属します: Stable ABI . zip Other Iterator Objects ¶ PyTypeObject PyByteArrayIter_Type ¶ 次に属します: Stable ABI . PyTypeObject PyBytesIter_Type ¶ 次に属します: Sta... - https://man.mtool.work/python/3.14/c-api/iterator.html
- イテレータオブジェクト (iterator object) — Python 3.14.8 ドキュメント 8802
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » イテレータオブジェクト (iterator object) テーマ 自動 ライト ダーク | イテレータオブジ
...ェクト (iterator object) ¶ Python では二種類のイテレータオブジェクトを提供しています。一つ目はシーケンスイテレータで、 __getitem__() メソッ...ck ( PyObject * o ) ¶ Return true if the object o is an instance of a range object. This function always succeeds. Builtin Iterator Types ¶ These are built-in iteration types that are included in Python's C API, but provide no additional functions. They...bject PyReversed_Type ¶ 次に属します: Stable ABI . reversed PyTypeObject PyZip_Type ¶ 次に属します: Stable ABI . zip Other Iterator Objects ¶ PyTypeObject PyByteArrayIter_Type ¶ 次に属します: Stable ABI . PyTypeObject PyBytesIter_Type ¶ 次に属します: Sta... - https://man.mtool.work/python/3.14/c-api/iterator.html
- 用語集 — Python 3.14.8 ドキュメント 7519
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...た。 asynchronous generator ¶ Informally used to mean either an asynchronous generator function or an asynchronous generator iterator , depending on context. The formal terms asynchronous generator function and asynchronous generator iterator are uncommon...r" alone is almost always sufficient. asynchronous generator function ¶ A function which returns an asynchronous generator iterator . It looks like a coroutine function defined with async def except that it contains yield expressions for producing a seri...非同期ジェネレータ関数には、 async for 文や async with 文だけでなく await 式もあることがあります。 asynchronous generator iterator ¶ An object created by an asynchronous generator function . これは asynchronous iterator で、 __anext__() メソッドを使って... - https://man.mtool.work/python/3.14/glossary.html
- 用語集 — Python 3.14.8 ドキュメント 7519
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 用語集 テーマ 自動 ライト ダーク | 用語集 ¶ >>> ¶ 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見ら
...た。 asynchronous generator ¶ Informally used to mean either an asynchronous generator function or an asynchronous generator iterator , depending on context. The formal terms asynchronous generator function and asynchronous generator iterator are uncommon...r" alone is almost always sufficient. asynchronous generator function ¶ A function which returns an asynchronous generator iterator . It looks like a coroutine function defined with async def except that it contains yield expressions for producing a seri...非同期ジェネレータ関数には、 async for 文や async with 文だけでなく await 式もあることがあります。 asynchronous generator iterator ¶ An object created by an asynchronous generator function . これは asynchronous iterator で、 __anext__() メソッドを使って... - https://man.mtool.work/python/3.14/glossary.html
- 関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 7394
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ
...グラムを実装するのにピッタリな Python の機能を見てまわることにしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や generator のような言語機能、および itertools や functools といった関連するライブラリモジュールを見ることにします。 はじ...めに ¶ この章は関数型プログラミングの基本概念を説明します; Python の言語機能についてだけ知りたい人は、次の章の イテレータ (iterator) まで飛ばしてください。 プログラミング言語とは問題を分解するものですが、各言語がサポートする分解方法にはいくつかの種類があ...くると、新しいプログラムも、既存の関数を調整して少し今回に特化した関数を書くだけで組み立てられるようになります。 イテレータ (iterator) ¶ まずは関数型スタイルのプログラムを書く際の基礎となる重要な Python 機能から見ていきましょう: イテレータです。 イテレータ... - https://man.mtool.work/python/3.14/howto/functional.html
- 関数型プログラミング HOWTO — Python 3.14.8 ドキュメント 7394
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 関数型プログラミング HOWTO テーマ 自動 ライト ダーク | 関数型プログラミング HOWTO ¶ Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタ
...グラムを実装するのにピッタリな Python の機能を見てまわることにしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や generator のような言語機能、および itertools や functools といった関連するライブラリモジュールを見ることにします。 はじ...めに ¶ この章は関数型プログラミングの基本概念を説明します; Python の言語機能についてだけ知りたい人は、次の章の イテレータ (iterator) まで飛ばしてください。 プログラミング言語とは問題を分解するものですが、各言語がサポートする分解方法にはいくつかの種類があ...くると、新しいプログラムも、既存の関数を調整して少し今回に特化した関数を書くだけで組み立てられるようになります。 イテレータ (iterator) ¶ まずは関数型スタイルのプログラムを書く際の基礎となる重要な Python 機能から見ていきましょう: イテレータです。 イテレータ... - https://man.mtool.work/python/3.14/howto/functional.html