Results of 1 - 10 of about 282 for Sequence (0.014 sec.)
- タプルオブジェクト (tuple object) — Python 3.14.8 ドキュメント 9964
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » タプルオブジェクト (tuple object) テーマ 自動 ライト ダーク | タプルオブジェクト (tup
...is only valid as long as you hold a reference to p ). To get a strong reference , use Py_NewRef(PyTuple_GetItem(...)) or PySequence_GetItem() . PyObject * PyTuple_GET_ITEM ( PyObject * p , Py_ssize_t pos ) ¶ 戻り値: 借用参照。 PyTuple_GetItem() に似ていま...ルの *p は破壊されます。失敗すると -1 を返し、 *p を NULL に設定して、 MemoryError または SystemError を送出します。 Struct Sequence オブジェクト ¶ Struct sequence objects are the C equivalent of namedtuple() objects, i.e. a sequence whose items can also...be accessed through attributes. To create a struct sequence, you first have to create a specific struct sequence type. PyTypeObject * PyStructSequence_NewType ( PyStructSequence_Desc... - https://man.mtool.work/python/3.14/c-api/tuple.html
- タプルオブジェクト (tuple object) — Python 3.14.8 ドキュメント 9964
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » タプルオブジェクト (tuple object) テーマ 自動 ライト ダーク | タプルオブジェクト (tup
...is only valid as long as you hold a reference to p ). To get a strong reference , use Py_NewRef(PyTuple_GetItem(...)) or PySequence_GetItem() . PyObject * PyTuple_GET_ITEM ( PyObject * p , Py_ssize_t pos ) ¶ 戻り値: 借用参照。 PyTuple_GetItem() に似ていま...ルの *p は破壊されます。失敗すると -1 を返し、 *p を NULL に設定して、 MemoryError または SystemError を送出します。 Struct Sequence オブジェクト ¶ Struct sequence objects are the C equivalent of namedtuple() objects, i.e. a sequence whose items can also...be accessed through attributes. To create a struct sequence, you first have to create a specific struct sequence type. PyTypeObject * PyStructSequence_NewType ( PyStructSequence_Desc... - https://man.mtool.work/python/3.14/c-api/tuple.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 9414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...(SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りです: patterns : open_sequence_pattern | pattern pattern : as_pattern | or_pattern closed_pattern : | literal_pattern | capture_pattern | wildcard_patter...n | value_pattern | group_pattern | sequence_pattern | mapping_pattern | class_pattern 以下の説明では分かりやすさのため、パターンの振る舞いを簡単に言い表した場合の説明...ax. Syntax: group_pattern : "(" pattern ")" In simple terms (P) has the same effect as P . 8.6.4.8. シーケンスパターン ¶ A sequence pattern contains several subpatterns to be matched against sequence elements. The syntax is similar to the unpacking of a... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 9414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...(SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りです: patterns : open_sequence_pattern | pattern pattern : as_pattern | or_pattern closed_pattern : | literal_pattern | capture_pattern | wildcard_patter...n | value_pattern | group_pattern | sequence_pattern | mapping_pattern | class_pattern 以下の説明では分かりやすさのため、パターンの振る舞いを簡単に言い表した場合の説明...ax. Syntax: group_pattern : "(" pattern ")" In simple terms (P) has the same effect as P . 8.6.4.8. シーケンスパターン ¶ A sequence pattern contains several subpatterns to be matched against sequence elements. The syntax is similar to the unpacking of a... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- 組み込み型 — Python 3.14.8 ドキュメント 8951
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...シーケンスでサポートされています。カスタムのシーケンス型にこれらの演算を完全に実装するのが簡単になるように、 collections.abc.Sequence ABC が提供されています。 以下のテーブルで、シーケンス演算を優先順位が低い順に挙げます。表内で、 s と t は同じ型のシーケンス...先順位は対応する数値演算と同じです。 [ 3 ] See Time complexity of operations on built-in types for the costs of the various sequence operations. 演算 結果 注釈 x in s s のある要素が x と等しければ True , そうでなければ False (1) x not in s s のある要素が...j が代わりに使われます。 ただし -0 はやはり 0 であることに注意してください。 The slice of s from i to j is defined as the sequence of items with index k such that i <= k < j . If i is omitted or None , use 0 . If j is omitted or None , use len(s) . If i... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- 組み込み型 — Python 3.14.8 ドキュメント 8180
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...シーケンスでサポートされています。カスタムのシーケンス型にこれらの演算を完全に実装するのが簡単になるように、 collections.abc.Sequence ABC が提供されています。 以下のテーブルで、シーケンス演算を優先順位が低い順に挙げます。表内で、 s と t は同じ型のシーケンス...先順位は対応する数値演算と同じです。 [ 3 ] See Time complexity of operations on built-in types for the costs of the various sequence operations. 演算 結果 注釈 x in s s のある要素が x と等しければ True , そうでなければ False (1) x not in s s のある要素が...j が代わりに使われます。 ただし -0 はやはり 0 であることに注意してください。 The slice of s from i to j is defined as the sequence of items with index k such that i <= k < j . If i is omitted or None , use 0 . If j is omitted or None , use len(s) . If i... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 8016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...ning mixin methods come from inheritance and can be overridden if desired. Other methods may be added as needed: class C ( Sequence ): # Direct inheritance def __init__ ( self ): ... # Extra method not required by the ABC def __getitem__ ( self , index )...: ... # Required abstract method def count ( self , value ): ... # Optionally override a mixin method >>> issubclass ( C , Sequence ) True >>> isinstance ( C (), Sequence ) True Existing classes and built-in classes can be registered as "virtual subclass...elf ): ... # Abstract method def count ( self , value ): ... # Mixin method def index ( self , value ): ... # Mixin method Sequence . register ( D ) # Register instead of inherit >>> issubclass ( D , Sequence ) True >>> isinstance ( D (), Sequence ) True... - https://man.mtool.work/python/3.14/library/collections.abc.html
- collections.abc --- コンテナの抽象基底クラス — Python 3.14.8 ドキュメント 8016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections.abc --- コンテナの抽象基底クラス テーマ 自動 ライト ダーク | collections.abc --- コンテナの抽象基底クラス ¶
...ning mixin methods come from inheritance and can be overridden if desired. Other methods may be added as needed: class C ( Sequence ): # Direct inheritance def __init__ ( self ): ... # Extra method not required by the ABC def __getitem__ ( self , index )...: ... # Required abstract method def count ( self , value ): ... # Optionally override a mixin method >>> issubclass ( C , Sequence ) True >>> isinstance ( C (), Sequence ) True Existing classes and built-in classes can be registered as "virtual subclass...elf ): ... # Abstract method def count ( self , value ): ... # Mixin method def index ( self , value ): ... # Mixin method Sequence . register ( D ) # Register instead of inherit >>> issubclass ( D , Sequence ) True >>> isinstance ( D (), Sequence ) True... - https://man.mtool.work/python/3.14/library/collections.abc.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7861
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...can be linked only to a Variable object, not to an ordinary Python variable. This is not a limitation of tkinter but a consequence of how the two languages differ: the link relies on Tcl being notified every time the value changes, and Python offers no...そのイベント型が起きたときにコールバック関数を呼び出すことができるようになります。 bind メソッドの形式は: def bind ( self , sequence , func , add = '' ): ここでは: sequence is a string that denotes the target kind of event. Physical events use the <modifi.... place_slaves ( ) ¶ Return a list of the child widgets managed by this container with the place geometry manager. bind ( sequence = None , func = None , add = None ) ¶ Bind the event pattern sequence on this widget to the callable func . sequence is an... - https://man.mtool.work/python/3.14/library/tkinter.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7784
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...can be linked only to a Variable object, not to an ordinary Python variable. This is not a limitation of tkinter but a consequence of how the two languages differ: the link relies on Tcl being notified every time the value changes, and Python offers no...そのイベント型が起きたときにコールバック関数を呼び出すことができるようになります。 bind メソッドの形式は: def bind ( self , sequence , func , add = '' ): ここでは: sequence is a string that denotes the target kind of event. Physical events use the <modifi.... place_slaves ( ) ¶ Return a list of the child widgets managed by this container with the place geometry manager. bind ( sequence = None , func = None , add = None ) ¶ Bind the event pattern sequence on this widget to the callable func . sequence is an... - https://man.mtool.work/python/3.14/library/tkinter.html