Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 50 for Generator (0.044 sec.)
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 7579
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... プログラミングという概念を紹介したあと、 iterator や generator のような言語機能、および itertools や functools と ... ne_list = [ ' line 1 \n ' , 'line 2 \n ' , ... ] # Generator expression -- returns iterator stripped_iter = ( l ... , y ) for x in seq1 for y in seq2 ] ジェネレータ (generator) ¶ ジェネレータは、イテレータを書く作業を簡単にする ... = generate_ints ( 3 ) >>> gen #doctest: +ELLIPSIS <generator object generate_ints at ...> >>> next ( gen ) 0 >> ...
https://man.plustar.jp/python/howto/functional.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 7579
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 6.3.3. ジェネレータ method をモックする ¶ A Python generator is a function or method that uses the yield statem ... turn a series of values when iterated over [1] . A generator method / function is called to return the generato ... r object. It is the generator object that is then iterated over. The protocol me ... ample class with an "iter" method implemented as a generator: >>> class Foo : ... def iter ( self ): ... for i ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
8.4. collections.abc --- コレクションの抽象基底クラス — Python 3.6.5 ドキュメン... 7459
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... __next__ __iter__ Reversible Iterable __reversed__ Generator Iterator send , throw close , __iter__ , __next__ ... yncIterator AsyncIterable __anext__ __aiter__ AsyncGenerator AsyncIterator asend , athrow aclose , __aiter__ , ... です。 バージョン 3.6 で追加. class collections.abc. Generator ¶ PEP 342 で定義された、イテレータを send() , thro ... ロトコルを実装する、ジェネレータクラスの ABC です。 generator の定義も参照してください。 バージョン 3.5 で追加. ...
https://man.plustar.jp/python/library/collections.abc.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 7459
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... トークナイズ ¶ 第一のエントリポイントはジェネレータ( generator )です: tokenize. tokenize ( readline ) ¶ The token ... ize() generator requires one argument, readline , which must be a ... ument, readline, in the same way as the tokenize() generator. readline を最大2回呼び出し、利用するエンコーディン ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
8.9. types --- 動的な型生成と組み込み型に対する名前 — Python 3.6.5 ドキュメント 7399
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... と lambda 式によって生成された関数の型です。 types. GeneratorType ¶ ジェネレータ関数によって生成された ジェネレー ... ブジェクトです。 バージョン 3.5 で追加. types. AsyncGeneratorType ¶ 非同期ジェネレータ関数によって作成された 非同 ... 関数 ¶ types. coroutine ( gen_func ) ¶ この関数は、 generator 関数を、ジェネレータベースのコルーチンを返す corou ... 。返されるジェネレータベースのコルーチンは依然として generator iterator ですが、同時に coroutine オブジェクトかつ ...
https://man.plustar.jp/python/library/types.html - [similar]
29.1. sys --- システムパラメータと関数 — Python 3.6.5 ドキュメント 7279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ither None or functions which take an asynchronous generator iterator as an argument, and are used to schedule ... finalization of an asychronous generator by an event loop. バージョン 3.6 で追加: See PEP 5 ... ts which are callables that accept an asynchronous generator iterator as an argument. The firstiter callable wi ... ll be called when an asynchronous generator is iterated for the first time. The finalizer will ...
https://man.plustar.jp/python/library/sys.html - [similar]
6.3. difflib --- 差分の計算を助ける — Python 3.6.5 ドキュメント 7219
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... を比較し、差分 (差分形式の行を生成するジェネレータ( generator )) を、 context diff のフォーマット(以下「コンテク ... を比較し、差分 (差分形式の行を生成するジェネレータ( generator )) を、 Differ のスタイルで返します。 オプションの ... を比較し、差分 (差分形式の行を生成するジェネレータ( generator )) を、 unified diff フォーマット(以下「ユニファイ ... クストを含むグループを生成するような、ジェネレータ( generator )を返します。 このメソッドは、 get_opcodes() で返さ ...
https://man.plustar.jp/python/library/difflib.html - [similar]
32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 7219
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ョン 3.4 で追加. dis. findlinestarts ( code ) ¶ This generator function uses the co_firstlineno and co_lnotab att ... r(TOS) を実行します。 GET_YIELD_FROM_ITER ¶ TOS が generator iterator もしくは coroutine オブジェクトの場合は、 ... YIELD_VALUE ¶ TOS をポップし、それをジェネレータ ( generator ) から yield します。 YIELD_FROM ¶ TOS をポップし、 ... それを generator から取得したサブイテレーターとして delegate します ...
https://man.plustar.jp/python/library/dis.html - [similar]
What's New In Python 3.3 — Python 3.6.5 ドキュメント 7219
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... あるいは Message オブジェクトを生成する際、あるいは generator を用いて email がシリアライズする際に指定出来ます。 ... したサブオブジェクトに引き継がれます。デフォルトでは generator は、シリアライズしようとする Message オブジェクトの ... です。 cte_type 7bit または 8bit 。 8bit は Bytes generator に対してのみ適用され、プロトコルが許す場所 (あるい ... マットでメッセージを生成するのを簡単にしてくれます。 generator を呼び出す全ての場所で linesep='\r\n' を指定するの ...
https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
29.6. contextlib --- with 文コンテキスト用ユーティリティ — Python 3.6.5 ドキュ... 7173
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 用できます。デコレーターとして利用された場合、新しい generator インスタンスが関数呼び出しのたびに暗黙に生成されま ... t managers, and will complain about the underlying generator failing to yield if an attempt is made to use them ... ceback (most recent call last): ... RuntimeError : generator didn't yield 29.6.3.1. Reentrant context managers ...
https://man.plustar.jp/python/library/contextlib.html - [similar]
PREV 1 2 3 4 5 NEXT