per page, with , order by , clip by
Results of 1 - 10 of about 45 for scopes (0.003 sec.)
4. 実行モデル — Python 3.14.8 ドキュメント 13704
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 4. 実行モデル テーマ 自動 ライト ダーク | 4. 実行モデル ¶ 4.1. プログラムの構造 ¶ Python プログラムはコードブロックから構成されます。 ブ ... to the code blocks of methods. This includes comprehensions and generator expressions, but it does not include annotation scopes , which have access to their enclosing class scopes. This means that the following will fail: class A : a = 42 b = list ( ... d: class A : type Alias = Nested class Nested : pass print ( A . Alias . __value__ ) # <type 'A.Nested'> 4.2.3. Annotation scopes ¶ Annotations , type parameter lists and type statements introduce annotation scopes , which behave mostly like function s ... copes, but with some exceptions discussed below. Annotation scopes are used in the following contexts: Function annotations . Variable annotations . Type parameter lists for generic type al ...
https://man.mtool.work/python/3.14/reference/executionmodel.html
4. 実行モデル — Python 3.14.8 ドキュメント 13596
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 4. 実行モデル テーマ 自動 ライト ダーク | 4. 実行モデル ¶ 4.1. プログラムの構造 ¶ Python プログラムはコードブロックから構成されます。 ブ ... to the code blocks of methods. This includes comprehensions and generator expressions, but it does not include annotation scopes , which have access to their enclosing class scopes. This means that the following will fail: class A : a = 42 b = list ( ... d: class A : type Alias = Nested class Nested : pass print ( A . Alias . __value__ ) # <type 'A.Nested'> 4.2.3. Annotation scopes ¶ Annotations , type parameter lists and type statements introduce annotation scopes , which behave mostly like function s ... copes, but with some exceptions discussed below. Annotation scopes are used in the following contexts: Function annotations . Variable annotations . Type parameter lists for generic type al ...
https://man.mtool.work/python/3.14/reference/executionmodel.html
Monitoring C API — Python 3.14.8 ドキュメント 9034
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Monitoring C API テーマ 自動 ライト ダーク | Monitoring C API ¶ Added in version 3.13. An extension may need to interact with the ... d with value as its argument. Managing the Monitoring State ¶ Monitoring states can be managed with the help of monitoring scopes. A scope would typically correspond to a Python function. int PyMonitoring_EnterScope ( PyMonitoringState * state_array , ... nction to determine whether event states have changed since the previous call, and to return quickly if they have not. The scopes referred to here are lexical scopes: a function, class or method. PyMonitoring_EnterScope() should be called whenever the ... lexical scope is entered. Scopes can be reentered, reusing the same state_array and version , in situations like when emulating a recursive Python function ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
Monitoring C API — Python 3.14.8 ドキュメント 9034
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Monitoring C API テーマ 自動 ライト ダーク | Monitoring C API ¶ Added in version 3.13. An extension may need to interact with the ... d with value as its argument. Managing the Monitoring State ¶ Monitoring states can be managed with the help of monitoring scopes. A scope would typically correspond to a Python function. int PyMonitoring_EnterScope ( PyMonitoringState * state_array , ... nction to determine whether event states have changed since the previous call, and to return quickly if they have not. The scopes referred to here are lexical scopes: a function, class or method. PyMonitoring_EnterScope() should be called whenever the ... lexical scope is entered. Scopes can be reentered, reusing the same state_array and version , in situations like when emulating a recursive Python function ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
セルオブジェクト (cell object) — Python 3.14.8 ドキュメント 8926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » セルオブジェクト (cell object) テーマ 自動 ライト ダーク | セルオブジェクト (cell obj ... ect) ¶ "Cell" objects are used to implement variables referenced by multiple scopes. For each such variable, a cell object is created to store the value; the local variables of each stack frame that referen ... ces the value contain a reference to the cells from outer scopes which also use that variable. When the value is accessed, the value contained in the cell is used instead of the cell obje ... ません。 関連キーワード cell PyObject value セルオブジェクト object PyCell ob 戻り値 Cell objects used variables referenced scopes variable reference accessed de int contents 前のトピックへ インスタンスメソッドオブジェクト(Instance Method Objects) 次のト ...
https://man.mtool.work/python/3.14/c-api/cell.html
セルオブジェクト (cell object) — Python 3.14.8 ドキュメント 8926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » セルオブジェクト (cell object) テーマ 自動 ライト ダーク | セルオブジェクト (cell obj ... ect) ¶ "Cell" objects are used to implement variables referenced by multiple scopes. For each such variable, a cell object is created to store the value; the local variables of each stack frame that referen ... ces the value contain a reference to the cells from outer scopes which also use that variable. When the value is accessed, the value contained in the cell is used instead of the cell obje ... ブジェクトでなければなりません。 関連キーワード cell PyObject セルオブジェクト PyCell Cell objects used variables referenced scopes variable reference accessed contents exception チェック return implement multiple created store local stack frame referenc ...
https://man.mtool.work/python/3.14/c-api/cell.html
リフレクション — Python 3.14.8 ドキュメント 8605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » リフレクション テーマ 自動 ライト ダーク | リフレクション ¶ PyObject * PyEval_GetBuiltins ( void ) ¶ 戻り値: 借用 ... tion frame, or NULL if no frame is currently executing. Refer to locals() for details of the mapping returned at different scopes. As this function returns a borrowed reference , the dictionary returned for optimized scopes is cached on the frame objec ... lling locals() in Python code. To access f_locals on the current frame without making an independent snapshot in optimized scopes , call PyFrame_GetLocals() on the result of PyEval_GetFrame() . Added in version 3.13. PyObject * PyEval_GetFrameGlobals ( ...
https://man.mtool.work/python/3.14/c-api/reflection.html
symtable --- コンパイラーの記号表へのアクセス — Python 3.14.8 ドキュメント 8605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » symtable --- コンパイラーの記号表へのアクセス テーマ 自動 ライト ダーク | symtable --- コンパイラーの記号表への ... on. CLASS = "class" ¶ Used for the symbol table of a class. The following members refer to different flavors of annotation scopes . ANNOTATION = "annotation" ¶ Used for annotations if from __future__ import annotations is active. TYPE_ALIAS = "type ali ... nction if the table is for a function, or 'top' if the table is global ( get_type() returns 'module' ). For type parameter scopes (which are used for generic classes, functions, and type aliases), it is the name of the underlying class, function, or ty ... pe alias. For type alias scopes, it is the name of the type alias. For TypeVar bound scopes, it is the name of the TypeVar . get_lineno ( ) ¶ この記号表に ...
https://man.mtool.work/python/3.14/library/symtable.html
リフレクション — Python 3.14.8 ドキュメント 8605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » リフレクション テーマ 自動 ライト ダーク | リフレクション ¶ PyObject * PyEval_GetBuiltins ( void ) ¶ 戻り値: 借用 ... tion frame, or NULL if no frame is currently executing. Refer to locals() for details of the mapping returned at different scopes. As this function returns a borrowed reference , the dictionary returned for optimized scopes is cached on the frame objec ... lling locals() in Python code. To access f_locals on the current frame without making an independent snapshot in optimized scopes , call PyFrame_GetLocals() on the result of PyEval_GetFrame() . Added in version 3.13. PyObject * PyEval_GetFrameGlobals ( ...
https://man.mtool.work/python/3.14/c-api/reflection.html
symtable --- コンパイラーの記号表へのアクセス — Python 3.14.8 ドキュメント 8605
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » symtable --- コンパイラーの記号表へのアクセス テーマ 自動 ライト ダーク | symtable --- コンパイラーの記号表への ... on. CLASS = "class" ¶ Used for the symbol table of a class. The following members refer to different flavors of annotation scopes . ANNOTATION = "annotation" ¶ Used for annotations if from __future__ import annotations is active. TYPE_ALIAS = "type ali ... nction if the table is for a function, or 'top' if the table is global ( get_type() returns 'module' ). For type parameter scopes (which are used for generic classes, functions, and type aliases), it is the name of the underlying class, function, or ty ... pe alias. For type alias scopes, it is the name of the type alias. For TypeVar bound scopes, it is the name of the TypeVar . get_lineno ( ) ¶ この記号表に ...
https://man.mtool.work/python/3.14/library/symtable.html
PREV 1 2 3 4 5 NEXT