per page, with , order by , clip by
Results of 1 - 10 of about 35 for subscript (0.011 sec.)
6. 式 (expression) — Python 3.14.8 ドキュメント 12587
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。 ... イマリ ¶ プライマリは、言語において最も結合の強い操作を表します。文法は以下のようになります: primary : atom | attributeref | subscription | call 6.3.1. 属性参照 ¶ 属性参照は、プライマリの後ろにピリオドと名前を連ねたものです: attributeref : primary "." ident ... ble. If an AttributeError is raised and the object has a __getattr__() method, that method is called as a fallback. 6.3.2. Subscriptions and slicings ¶ The subscription syntax is usually used for selecting an element from a container -- for example, to ge ... t a value from a dict : >>> digits_by_name = { 'one' : 1 , 'two' : 2 } >>> digits_by_name [ 'two' ] # Subscripting a dictionary using the key 'two' 2 In the subscription syntax, the object being subscribed -- a primary -- is followed ...
https://man.mtool.work/python/3.14/reference/expressions.html
6. 式 (expression) — Python 3.14.8 ドキュメント 12587
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。 ... イマリ ¶ プライマリは、言語において最も結合の強い操作を表します。文法は以下のようになります: primary : atom | attributeref | subscription | call 6.3.1. 属性参照 ¶ 属性参照は、プライマリの後ろにピリオドと名前を連ねたものです: attributeref : primary "." ident ... ble. If an AttributeError is raised and the object has a __getattr__() method, that method is called as a fallback. 6.3.2. Subscriptions and slicings ¶ The subscription syntax is usually used for selecting an element from a container -- for example, to ge ... t a value from a dict : >>> digits_by_name = { 'one' : 1 , 'two' : 2 } >>> digits_by_name [ 'two' ] # Subscripting a dictionary using the key 'two' 2 In the subscription syntax, the object being subscribed -- a primary -- is followed ...
https://man.mtool.work/python/3.14/reference/expressions.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 11345
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... he following expression can appear in assignment context | Attribute ( expr value , identifier attr , expr_context ctx ) | Subscript ( expr value , expr slice , expr_context ctx ) | Starred ( expr value , expr_context ctx ) | Name ( identifier id , expr_c ... ontext ctx ) | List ( expr * elts , expr_context ctx ) | Tuple ( expr * elts , expr_context ctx ) -- can appear only in Subscript | Slice ( expr ? lower , expr ? upper , expr ? step ) -- col_offset is the byte offset in the utf8 string the parser uses ... e = 'func_type' ), indent = 4 )) FunctionType( argtypes=[ Name(id='int', ctx=Load()), Name(id='str', ctx=Load())], returns=Subscript( value=Name(id='List', ctx=Load()), slice=Name(id='int', ctx=Load()), ctx=Load())) Added in version 3.8. リテラル ¶ class ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 11345
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... he following expression can appear in assignment context | Attribute ( expr value , identifier attr , expr_context ctx ) | Subscript ( expr value , expr slice , expr_context ctx ) | Starred ( expr value , expr_context ctx ) | Name ( identifier id , expr_c ... ontext ctx ) | List ( expr * elts , expr_context ctx ) | Tuple ( expr * elts , expr_context ctx ) -- can appear only in Subscript | Slice ( expr ? lower , expr ? upper , expr ? step ) -- col_offset is the byte offset in the utf8 string the parser uses ... e = 'func_type' ), indent = 4 )) FunctionType( argtypes=[ Name(id='int', ctx=Load()), Name(id='str', ctx=Load())], returns=Subscript( value=Name(id='List', ctx=Load()), slice=Name(id='int', ctx=Load()), ctx=Load())) Added in version 3.8. リテラル ¶ class ...
https://man.mtool.work/python/3.14/library/ast.html
7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 9038
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 7. 単純文 (simple statement) テーマ 自動 ライト ダーク | 7. 単純文 (simple statement) ¶ 単純文とは、単一の論理行内に収められる文です。単 ... : target ( "," target )* [ "," ] target : identifier | "(" [ target_list ] ")" | "[" [ target_list ] "]" | attributeref | subscription | "*" target (See section プライマリ for the syntax definitions for attributeref and subscription .) 代入文は式のリスト ... cursively depending on the form of the target (list). When a target is part of a mutable object (an attribute reference or subscription), the mutable object must ultimately perform the assignment and decide about its validity, and may raise an exception i ... iption does not necessarily apply to descriptor attributes, such as properties created with @property . If the target is a subscription: The primary expression in the reference is evaluated. Next, the subscript expression is evaluated. Then, the primary's ...
https://man.mtool.work/python/3.14/reference/simple_stmts.html
Type Object Structures — Python 3.14.8 ドキュメント 8688
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... _multiply binaryfunc __matmul__ __rmatmul__ nb_inplace_matrix_multiply binaryfunc __imatmul__ mp_length lenfunc __len__ mp_subscript binaryfunc __getitem__ mp_ass_subscript objobjargproc __setitem__, __delitem__ sq_length lenfunc __len__ sq_concat binaryf ... ジェクトが定義された長さを持たない場合は、このスロットは NULL に設定されることがあります。 binaryfunc PyMappingMethods . mp_subscript ¶ The corresponding slot ID Py_mp_subscript is part of the Stable ABI . この関数は PyObject_GetItem() および PySequence_Ge ... yMapping_Check() が 1 を返すためには必要で、そうでなければ NULL の場合があります。 objobjargproc PyMappingMethods . mp_ass_subscript ¶ The corresponding slot ID Py_mp_ass_subscript is part of the Stable ABI . This function is used by PyObject_SetItem() , ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 8688
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 7. 単純文 (simple statement) テーマ 自動 ライト ダーク | 7. 単純文 (simple statement) ¶ 単純文とは、単一の論理行内に収められる文です。単 ... : target ( "," target )* [ "," ] target : identifier | "(" [ target_list ] ")" | "[" [ target_list ] "]" | attributeref | subscription | "*" target (See section プライマリ for the syntax definitions for attributeref and subscription .) 代入文は式のリスト ... cursively depending on the form of the target (list). When a target is part of a mutable object (an attribute reference or subscription), the mutable object must ultimately perform the assignment and decide about its validity, and may raise an exception i ... iption does not necessarily apply to descriptor attributes, such as properties created with @property . If the target is a subscription: The primary expression in the reference is evaluated. Next, the subscript expression is evaluated. Then, the primary's ...
https://man.mtool.work/python/3.14/reference/simple_stmts.html
Type Object Structures — Python 3.14.8 ドキュメント 8688
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... _multiply binaryfunc __matmul__ __rmatmul__ nb_inplace_matrix_multiply binaryfunc __imatmul__ mp_length lenfunc __len__ mp_subscript binaryfunc __getitem__ mp_ass_subscript objobjargproc __setitem__, __delitem__ sq_length lenfunc __len__ sq_concat binaryf ... ジェクトが定義された長さを持たない場合は、このスロットは NULL に設定されることがあります。 binaryfunc PyMappingMethods . mp_subscript ¶ The corresponding slot ID Py_mp_subscript is part of the Stable ABI . この関数は PyObject_GetItem() および PySequence_Ge ... yMapping_Check() が 1 を返すためには必要で、そうでなければ NULL の場合があります。 objobjargproc PyMappingMethods . mp_ass_subscript ¶ The corresponding slot ID Py_mp_ass_subscript is part of the Stable ABI . This function is used by PyObject_SetItem() , ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 8322
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... d_expr must start with 'yield' assignment : | NAME ':' expression [ '=' annotated_rhs ] | ( '(' single_target ')' | single_subscript_attribute_target ) ':' expression [ '=' annotated_rhs ] | ( star_targets '=' ) + annotated_rhs !'=' [ TYPE_COMMENT ] | sin ... arget_with_star_atom ')' | '(' [ star_targets_tuple_seq ] ')' | '[' [ star_targets_list_seq ] ']' single_target : | single_subscript_attribute_target | NAME | '(' single_target ')' single_subscript_attribute_target : | t_primary '.' NAME ! t_lookahead | t ...
https://man.mtool.work/python/3.14/reference/grammar.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 8322
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... d_expr must start with 'yield' assignment : | NAME ':' expression [ '=' annotated_rhs ] | ( '(' single_target ')' | single_subscript_attribute_target ) ':' expression [ '=' annotated_rhs ] | ( star_targets '=' ) + annotated_rhs !'=' [ TYPE_COMMENT ] | sin ... arget_with_star_atom ')' | '(' [ star_targets_tuple_seq ] ')' | '[' [ star_targets_list_seq ] ']' single_target : | single_subscript_attribute_target | NAME | '(' single_target ')' single_subscript_attribute_target : | t_primary '.' NAME ! t_lookahead | t ...
https://man.mtool.work/python/3.14/reference/grammar.html
PREV 1 2 3 4 NEXT