Results of 1 - 10 of about 25 for subscription (0.012 sec.)
- 6. 式 (expression) — Python 3.14.8 ドキュメント 12453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...イマリ ¶ プライマリは、言語において最も結合の強い操作を表します。文法は以下のようになります: primary : atom | attributeref | subscription | call 6.3.1. 属性参照 ¶ 属性参照は、プライマリの後ろにピリオドと名前を連ねたものです: attributeref : primary "." identifi...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 get a..._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 by a subscript in square brackets. In the simplest case, t... - https://man.mtool.work/python/3.14/reference/expressions.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 12453
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...イマリ ¶ プライマリは、言語において最も結合の強い操作を表します。文法は以下のようになります: primary : atom | attributeref | subscription | call 6.3.1. 属性参照 ¶ 属性参照は、プライマリの後ろにピリオドと名前を連ねたものです: attributeref : primary "." identifi...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 get a..._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 by a subscript in square brackets. In the simplest case, t... - https://man.mtool.work/python/3.14/reference/expressions.html
- 7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 11474
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 if t...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
- 7. 単純文 (simple statement) — Python 3.14.8 ドキュメント 10826
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 if t...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
- xml.dom.minidom --- 最小限の DOM の実装 — Python 3.14.8 ドキュメント 9199
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom.minidom --- 最小限の DOM の実装 テーマ 自動 ライト ダーク | xml.dom.minidom --- 最小限の DOM の実
...bclass of tuple . It supports iteration, concatenation, indexing and slicing. attributes supports len() , the in operator, subscription by a name or by a (namespaceURI, localName) tuple, assignment and deletion, and the methods get() , keys() , keysNS() , va...lues() , items() and itemsNS() . entities and notations are read-only and support only len() and subscription by a name. strictErrorChecking and specified are always False . removeAttribute() and removeAttributeNS() raise NotFoundEr... - https://man.mtool.work/python/3.14/library/xml.dom.minidom.html
- xml.dom.minidom --- 最小限の DOM の実装 — Python 3.14.8 ドキュメント 9199
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.dom.minidom --- 最小限の DOM の実装 テーマ 自動 ライト ダーク | xml.dom.minidom --- 最小限の DOM の実
...bclass of tuple . It supports iteration, concatenation, indexing and slicing. attributes supports len() , the in operator, subscription by a name or by a (namespaceURI, localName) tuple, assignment and deletion, and the methods get() , keys() , keysNS() , va...lues() , items() and itemsNS() . entities and notations are read-only and support only len() and subscription by a name. strictErrorChecking and specified are always False . removeAttribute() and removeAttributeNS() raise NotFoundEr... - https://man.mtool.work/python/3.14/library/xml.dom.minidom.html
- 3. データモデル — Python 3.14.8 ドキュメント 8551
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da
...ny class for purposes other than type hinting is discouraged. 3.3.5.2. __class_getitem__ versus __getitem__ ¶ Usually, the subscription of an object using square brackets will call the __getitem__() instance method defined on the object's class. However, if...0 - typing モジュールとジェネリック型に対する言語コアによるサポート Introducing __class_getitem__() , and outlining when a subscription results in __class_getitem__() being called instead of __getitem__() 3.3.6. 呼び出し可能オブジェクトをエミュレートする ¶ o...nd is never required for correctness. Added in version 3.4. object. __getitem__ ( self , subscript ) ¶ Called to implement subscription , that is, self[subscript] . See Subscriptions and slicings for details on the syntax. There are two types of built-in obj... - https://man.mtool.work/python/3.14/reference/datamodel.html
- 3. データモデル — Python 3.14.8 ドキュメント 8551
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da
...ny class for purposes other than type hinting is discouraged. 3.3.5.2. __class_getitem__ versus __getitem__ ¶ Usually, the subscription of an object using square brackets will call the __getitem__() instance method defined on the object's class. However, if...0 - typing モジュールとジェネリック型に対する言語コアによるサポート Introducing __class_getitem__() , and outlining when a subscription results in __class_getitem__() being called instead of __getitem__() 3.3.6. 呼び出し可能オブジェクトをエミュレートする ¶ o...nd is never required for correctness. Added in version 3.4. object. __getitem__ ( self , subscript ) ¶ Called to implement subscription , that is, self[subscript] . See Subscriptions and slicings for details on the syntax. There are two types of built-in obj... - https://man.mtool.work/python/3.14/reference/datamodel.html
- What's new in Python 3.14 — Python 3.14.8 ドキュメント 7571
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では
...at all the iterables are of equal length. (Contributed by Wannes Boeykens in gh-119793 .) The memoryview type now supports subscription, making it a generic type . (Contributed by Brian Schubert in gh-126012 .) Using NotImplemented in a boolean context will...growing without limits in some situations. (Contributed by Sergey Miryanov in gh-100926 .) The py_object type now supports subscription, making it a generic type . (Contributed by Brian Schubert in gh-132168 .) ctypes now supports free-threading builds . (Co... - https://man.mtool.work/python/3.14/whatsnew/3.14.html
- What's New In Python 3.9 — Python 3.14.8 ドキュメント 7571
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.9 テーマ 自動 ライト ダーク | What's New In Python 3.9 ¶ 編集者 : Łukasz Langa This article explains the new featur
...rd-only, since the buffering parameter has been removed. (Contributed by Victor Stinner in bpo-39357 .) Simplified AST for subscription. Simple indices will be represented by their value, extended slices will be represented as tuples. Index(value) will retur... - https://man.mtool.work/python/3.14/whatsnew/3.9.html