per page, with , order by , clip by
Results of 1 - 10 of about 44 for comprehension (0.037 sec.)
6. 式 (expression) — Python 3.14.8 ドキュメント 12801
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。 ... e container contents are listed explicitly, or they are computed via a set of looping and filtering instructions, called a comprehension . Common syntax elements for comprehensions are: comprehension : assignment_expression comp_for comp_for : [ "async" ] "fo ... r" target_list "in" or_test [ comp_iter ] comp_iter : comp_for | comp_if comp_if : "if" or_test [ comp_iter ] The comprehension consists of a single expression followed by at least one for clause and zero or more for or if clauses. In this case, the ... ment each time the innermost block is reached. However, aside from the iterable expression in the leftmost for clause, the comprehension is executed in a separate implicitly nested scope. This ensures that names assigned to in the target list don't "leak" int ...
https://man.mtool.work/python/3.14/reference/expressions.html
6. 式 (expression) — Python 3.14.8 ドキュメント 12801
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。 ... e container contents are listed explicitly, or they are computed via a set of looping and filtering instructions, called a comprehension . Common syntax elements for comprehensions are: comprehension : assignment_expression comp_for comp_for : [ "async" ] "fo ... r" target_list "in" or_test [ comp_iter ] comp_iter : comp_for | comp_if comp_if : "if" or_test [ comp_iter ] The comprehension consists of a single expression followed by at least one for clause and zero or more for or if clauses. In this case, the ... ment each time the innermost block is reached. However, aside from the iterable expression in the leftmost for clause, the comprehension is executed in a separate implicitly nested scope. This ensures that names assigned to in the target list don't "leak" int ...
https://man.mtool.work/python/3.14/reference/expressions.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 11710
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... xpr test , expr body , expr orelse ) | Dict ( expr ?* keys , expr * values ) | Set ( expr * elts ) | ListComp ( expr elt , comprehension * generators ) | SetComp ( expr elt , comprehension * generators ) | DictComp ( expr key , expr value , comprehension * ge ... nerators ) | GeneratorExp ( expr elt , comprehension * generators ) -- the grammar constrains where yield expressions can occur | Await ( expr value ) | Yield ( expr ? value ) ... BitAnd | FloorDiv unaryop = Invert | Not | UAdd | USub cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn comprehension = ( expr target , expr iter , expr * ifs , int is_async ) excepthandler = ExceptHandler ( expr ? type , identifier ? name ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 11403
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... xpr test , expr body , expr orelse ) | Dict ( expr ?* keys , expr * values ) | Set ( expr * elts ) | ListComp ( expr elt , comprehension * generators ) | SetComp ( expr elt , comprehension * generators ) | DictComp ( expr key , expr value , comprehension * ge ... nerators ) | GeneratorExp ( expr elt , comprehension * generators ) -- the grammar constrains where yield expressions can occur | Await ( expr value ) | Yield ( expr ? value ) ... BitAnd | FloorDiv unaryop = Invert | Not | UAdd | USub cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn comprehension = ( expr target , expr iter , expr * ifs , int is_async ) excepthandler = ExceptHandler ( expr ? type , identifier ? name ...
https://man.mtool.work/python/3.14/library/ast.html
What's New In Python 3.12 — Python 3.14.8 ドキュメント 9205
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した ... クトが新規作成されることはなくなります。これにより内包表記の実行は最大2倍速くなります。詳しくは PEP 709 を参照してください。 Comprehension iteration variables remain isolated and don't overwrite a variable of the same name in the outer scope, nor are they visib ... le after the comprehension. Inlining does result in a few visible behavior changes: There is no longer a separate frame for the comprehension in trac ... ebacks, and tracing/profiling no longer shows the comprehension as a function call. The symtable module will no longer produce child symbol tables for each comprehension; instead, the co ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
What's New In Python 3.12 — Python 3.14.8 ドキュメント 9205
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した ... クトが新規作成されることはなくなります。これにより内包表記の実行は最大2倍速くなります。詳しくは PEP 709 を参照してください。 Comprehension iteration variables remain isolated and don't overwrite a variable of the same name in the outer scope, nor are they visib ... le after the comprehension. Inlining does result in a few visible behavior changes: There is no longer a separate frame for the comprehension in trac ... ebacks, and tracing/profiling no longer shows the comprehension as a function call. The symtable module will no longer produce child symbol tables for each comprehension; instead, the co ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
symtable --- コンパイラーの記号表へのアクセス — Python 3.14.8 ドキュメント 8114
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » symtable --- コンパイラーの記号表へのアクセス テーマ 自動 ライト ダーク | symtable --- コンパイラーの記号表への ... ned ( ) ¶ 記号がそのブロックの中で代入されているならば True を返します。 is_comp_iter ( ) ¶ Return True if the symbol is a comprehension iteration variable. Added in version 3.14. is_comp_cell ( ) ¶ Return True if the symbol is a cell in an inlined comprehens ...
https://man.mtool.work/python/3.14/library/symtable.html
symtable --- コンパイラーの記号表へのアクセス — Python 3.14.8 ドキュメント 8114
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » symtable --- コンパイラーの記号表へのアクセス テーマ 自動 ライト ダーク | symtable --- コンパイラーの記号表への ... ned ( ) ¶ 記号がそのブロックの中で代入されているならば True を返します。 is_comp_iter ( ) ¶ Return True if the symbol is a comprehension iteration variable. Added in version 3.14. is_comp_cell ( ) ¶ Return True if the symbol is a cell in an inlined comprehens ...
https://man.mtool.work/python/3.14/library/symtable.html
Python言語サービス — Python 3.14.8 ドキュメント 7791
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス テーマ 自動 ライト ダーク | Python言語サービス ¶ PythonにはPython言語を使って作業するときに役に立つモジュールがた ... syntax trees Abstract grammar Node クラス Root nodes リテラル 変数 式 (expression) 配列要素の参照 (Subscripting) 内包表記 (Comprehension) 文 (Statements) インポート 制御フロー Pattern matching Type annotations Type parameters 関数およびクラス定義 async と awa ...
https://man.mtool.work/python/3.14/library/language.html
変更履歴 — Python 3.14.8 ドキュメント 7791
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... cyclic garbage from ever being collected. gh-156091 : Fix a crash when compiling deeply nested inlined list, set, or dict comprehensions. A SyntaxError is now raised when the nesting exceeds the compiler's static block limit. gh-156894 : Fix the position of ... eateProcess() Now these places raise proper MemoryError errors. gh-150700 : Fix a SystemError when compiling a class-scope comprehension containing a lambda that references __class__ , __classdict__ , or __conditional_annotations__ . Patch by Bartosz Sławecki ... ernal type lock. gh-145701 : Fix SystemError when __classdict__ or __conditional_annotations__ is in a class-scope inlined comprehension. Found by OSS Fuzz in #491105000 . gh-145713 : Make bytearray.resize() thread-safe in the free-threaded build by using a c ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 2 3 4 5 NEXT