Python 3.6.5 ドキュメント 検索
Results of 41 - 50 of about 59 for yield (0.094 sec.)
- 2. 字句解析 — Python 3.6.5 ドキュメント 6492
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
nlocal while and del global not with as elif if or yield assert else import pass break except in raise 2.3....
onditional_expression | "," "*" or_expr )* [","] | yield_expression conversion ::= "s" | "r" | "a" format_s...
- https://man.plustar.jp/python/reference/lexical_analysis.html - [similar]
- 9. クラス — Python 3.6.5 ドキュメント 6492
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
数のように書かれますが、何らかのデータを返すときには yield 文を使います。そのジェネレータに対して next() が呼...
r index in range ( len ( data ) - 1 , - 1 , - 1 ): yield data [ index ] >>> for char in reverse ( 'golf' ):...
- https://man.plustar.jp/python/tutorial/classes.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 6492
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
name ): logging . info ( 'Entering: %s ' , name ) yield logging . info ( 'Exiting: %s ' , name ) ContextDe...
on ドキュメント全体通して多くはないのですが 2.x の yield 文 説明中に登場します。ジェネレータと同じ意味です。...
spect import getgeneratorstate >>> def gen (): ... yield 'demo' >>> g = gen () >>> getgeneratorstate ( g )...
- https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
- What's New In Python 3.5 — Python 3.6.5 ドキュメント 6492
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
るAntoine Pitrouによる貢献です。) ジェネレータに gi_yieldfrom 属性が新しく追加され、これは yield from 式で反...
うな状況で、デバッグをしやすくすることです。 これは yield from 構造と組み合わさったとき特に有害になります。...
tor_stop >>> def gen (): ... next ( iter ([])) ... yield ... >>> next ( gen ()) Traceback (most recent call...
- https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
- 29.7. abc --- 抽象基底クラス — Python 3.6.5 ドキュメント 6419
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
bstractmethod def __iter__ ( self ): while False : yield None def get_iterator ( self ): return self . __it...
- https://man.plustar.jp/python/library/abc.html - [similar]
- 7.1. struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.6... 6419
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
。 イテレーション毎に書式文字列で指定されたタプルを yield します。 バージョン 3.4 で追加. struct. calcsize (...
- https://man.plustar.jp/python/library/struct.html - [similar]
- 3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 6346
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...
ion to returning NULL ; avoiding the exception can yield slightly better performance. If an actual error oc...
- https://man.plustar.jp/python/extending/newtypes.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 6346
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
t : s += elem - d . popleft () d . append ( elem ) yield s / n rotate() メソッドは deque のスライスやポップ...
- https://man.plustar.jp/python/library/collections.html - [similar]
- 15.1. hashlib --- セキュアハッシュおよびメッセージダイジェスト — Python 3.6.5 ... 6346
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
can generate two or more messages that ultimately yield the same hash value during the digital signature g...
- https://man.plustar.jp/python/library/hashlib.html - [similar]
- 19.2. json --- JSON エンコーダおよびデコーダ — Python 3.6.5 ドキュメント 6346
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ジェクト o をエンコードし、得られた文字列表現ごとに yield します。たとえば: for chunk in json . JSONEncoder...
- https://man.plustar.jp/python/library/json.html - [similar]