per page, with , order by , clip by
Results of 1 - 10 of about 58 for iterators (0.032 sec.)
email.iterators: イテレータ — Python 3.14.8 ドキュメント 13495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ ... ト ダーク | email.iterators : イテレータ ¶ ソースコード: Lib/email/iterators.py Iterating over a message object tree is fairly easy with the Message.w ... alk method. The email.iterators module provides some useful higher level iterations over message object trees. email.iterators. body_line_iterator ( msg , ... トとして読むのにいくぶん似ているかもしれません。 オプション引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり ...
https://man.mtool.work/python/3.14/library/email.iterators.html
email.iterators: イテレータ — Python 3.14.8 ドキュメント 13495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ ... ト ダーク | email.iterators : イテレータ ¶ ソースコード: Lib/email/iterators.py Iterating over a message object tree is fairly easy with the Message.w ... alk method. The email.iterators module provides some useful higher level iterations over message object trees. email.iterators. body_line_iterator ( msg , ... トとして読むのにいくぶん似ているかもしれません。 オプション引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり ...
https://man.mtool.work/python/3.14/library/email.iterators.html
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 11460
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 batched ... _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. ... class _tee : def __init__ ( self , iterable ): it = iter ( iterable ) if isinstance ( it , _tee ): self . iterator = it . iterator self . link = it . link else : self . iterator = it self . link = [ None , None ] def __iter__ ( self ): return self def __ ...
https://man.mtool.work/python/3.14/library/itertools.html
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 11460
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 batched ... _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. ... class _tee : def __init__ ( self , iterable ): it = iter ( iterable ) if isinstance ( it , _tee ): self . iterator = it . iterator self . link = it . link else : self . iterator = it self . link = [ None , None ] def __iter__ ( self ): return self def __ ...
https://man.mtool.work/python/3.14/library/itertools.html
変更履歴 — Python 3.14.8 ドキュメント 7947
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... hen sys._current_frames() or sys._current_exceptions() is called while another interpreter is running. gh-158254 : Reverse iterators over a dict and its views now raise RuntimeError if the dictionary's keys change during iteration, like forward iterators, ... eaded build when thread-local bytecode is disabled ( -X tlbc=0 ). Patch by Donghee Na. gh-155515 : Track the internal HAMT iterators, which back iteration over a contextvars.Context , with the garbage collector. A reference cycle running through such an i ... g attributes of function objects on the free threaded build. gh-154709 : Fix an out-of-bounds access in reverse dictionary iterators when the underlying dictionary is cleared and modified after the iterator is created. gh-154695 : Fix asyncio.Task raising ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 7713
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... m in it : s += elem - d . popleft () d . append ( elem ) yield s / n A round-robin scheduler can be implemented with input iterators stored in a deque . Values are yielded from the active iterator in position zero. If that iterator is exhausted , it can b ... d back to the end with the rotate() method: def roundrobin ( * iterables ): "roundrobin('ABC', 'D', 'EF') --> A D E B F C" iterators = deque ( map ( iter , iterables )) while iterators : try : while True : yield next ( iterators [ 0 ]) iterators . rotate ... ( - 1 ) except StopIteration : # Remove an exhausted iterator. iterators . popleft () rotate() メソッドは、 deque のスライスや削除の機能を提供します。 例えば、 純粋な Python 実装の del d[n] は ro ...
https://man.mtool.work/python/3.14/library/collections.html
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 7713
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... m in it : s += elem - d . popleft () d . append ( elem ) yield s / n A round-robin scheduler can be implemented with input iterators stored in a deque . Values are yielded from the active iterator in position zero. If that iterator is exhausted , it can b ... d back to the end with the rotate() method: def roundrobin ( * iterables ): "roundrobin('ABC', 'D', 'EF') --> A D E B F C" iterators = deque ( map ( iter , iterables )) while iterators : try : while True : yield next ( iterators [ 0 ]) iterators . rotate ... ( - 1 ) except StopIteration : # Remove an exhausted iterator. iterators . popleft () rotate() メソッドは、 deque のスライスや削除の機能を提供します。 例えば、 純粋な Python 実装の del d[n] は ro ...
https://man.mtool.work/python/3.14/library/collections.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 7377
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... 2.1 */ /* rich comparisons */ richcmpfunc tp_richcompare ; /* weak reference enabler */ Py_ssize_t tp_weaklistoffset ; /* Iterators */ getiterfunc tp_iter ; iternextfunc tp_iternext ; /* Attribute descriptor and subclassing stuff */ PyMethodDef * tp_meth ... : [%s] arg2: [%s] arg3: [%s] \n " , self -> obj_UnderlyingDatatypePtr -> size , arg1 , arg2 , arg3 ); return result ; } /* Iterators */ getiterfunc tp_iter ; iternextfunc tp_iternext ; These functions provide support for the iterator protocol. Both handle ... guidelines apply as for Python classes: For collections (such as lists and tuples) which can support multiple independent iterators, a new iterator should be created and returned by each call to tp_iter . Objects which can only be iterated over once (usu ...
https://man.mtool.work/python/3.14/extending/newtypes.html
Pythonモジュール索引 — Python 3.14.8 ドキュメント 7377
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pythonモジュール索引 テーマ 自動 ライト ダーク | Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ _ ... mail.header Representing non-ASCII headers email.headerregistry Automatic Parsing of headers based on the field name email.iterators Iterate over a message object tree. email.message The base class representing email messages. email.mime Build MIME messag ... ve objects. io Core tools for working with streams. ipaddress IPv4/IPv6 manipulation library. itertools Functions creating iterators for efficient looping. j json Encode and decode the JSON format. json.tool A command-line interface to validate and pretty ...
https://man.mtool.work/python/3.14/py-modindex.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 7377
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... 2.1 */ /* rich comparisons */ richcmpfunc tp_richcompare ; /* weak reference enabler */ Py_ssize_t tp_weaklistoffset ; /* Iterators */ getiterfunc tp_iter ; iternextfunc tp_iternext ; /* Attribute descriptor and subclassing stuff */ PyMethodDef * tp_meth ... : [%s] arg2: [%s] arg3: [%s] \n " , self -> obj_UnderlyingDatatypePtr -> size , arg1 , arg2 , arg3 ); return result ; } /* Iterators */ getiterfunc tp_iter ; iternextfunc tp_iternext ; These functions provide support for the iterator protocol. Both handle ... guidelines apply as for Python classes: For collections (such as lists and tuples) which can support multiple independent iterators, a new iterator should be created and returned by each call to tp_iter . Objects which can only be iterated over once (usu ...
https://man.mtool.work/python/3.14/extending/newtypes.html
PREV 1 2 3 4 5 6 NEXT