per page, with , order by , clip by
Results of 1 - 10 of about 78 for frozenset (0.008 sec.)
Set オブジェクト — Python 3.14.8 ドキュメント 13430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Set オブジェクト テーマ 自動 ライト ダーク | Set オブジェクト ¶ このセクションでは se ... t と frozenset の公開 API について詳しく述べます。以降で説明していない機能は、抽象オブジェクトプロトコル ( PyObject_CallMethod() , PyObje ... nPlaceOr() , PyNumber_InPlaceXor() を含む) を使って利用できます。 type PySetObject ¶ この PyObject を継承した型は、 set と frozenset 両方の内部データを保存するのに用いられます。 PyDictObject と同じように、小さい集合(set)に対しては(タプルのように)固定サイズ ... ct PySet_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは、Python の set 型を表します。 PyTypeObject PyFrozenSet_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは、Python の frozenset 型を表します。 以降の型チェックマ ...
https://man.mtool.work/python/3.14/c-api/set.html
Set オブジェクト — Python 3.14.8 ドキュメント 13430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Set オブジェクト テーマ 自動 ライト ダーク | Set オブジェクト ¶ このセクションでは se ... t と frozenset の公開 API について詳しく述べます。以降で説明していない機能は、抽象オブジェクトプロトコル ( PyObject_CallMethod() , PyObje ... nPlaceOr() , PyNumber_InPlaceXor() を含む) を使って利用できます。 type PySetObject ¶ この PyObject を継承した型は、 set と frozenset 両方の内部データを保存するのに用いられます。 PyDictObject と同じように、小さい集合(set)に対しては(タプルのように)固定サイズ ... ct PySet_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは、Python の set 型を表します。 PyTypeObject PyFrozenSet_Type ¶ 次に属します: Stable ABI . この PyTypeObject のインスタンスは、Python の frozenset 型を表します。 以降の型チェックマ ...
https://man.mtool.work/python/3.14/c-api/set.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 11377
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... from multiple threads. However, its guarantees depend on the iterable passed to it. If it is a list , a tuple , a set , a frozenset , a dict or a dictionary view object (but not their subclasses), the extend operation is safe from concurrent modification ... tuple . When using the dict.fromkeys() method, dictionary creation is atomic when the argument is a dict , tuple , set or frozenset . The following operations and functions are lock-free and atomic . d [ key ] # dict.__getitem__ d . get ( key ) # dict.ge ... uring comparison. fromkeys() locks both the new dictionary and the iterable when the iterable is exactly a dict , set , or frozenset (not subclasses): dict . fromkeys ( a_dict ) # locks both dict . fromkeys ( a_set ) # locks both dict . fromkeys ( a_froze ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 11377
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... from multiple threads. However, its guarantees depend on the iterable passed to it. If it is a list , a tuple , a set , a frozenset , a dict or a dictionary view object (but not their subclasses), the extend operation is safe from concurrent modification ... tuple . When using the dict.fromkeys() method, dictionary creation is atomic when the argument is a dict , tuple , set or frozenset . The following operations and functions are lock-free and atomic . d [ key ] # dict.__getitem__ d . get ( key ) # dict.ge ... uring comparison. fromkeys() locks both the new dictionary and the iterable when the iterable is exactly a dict , set , or frozenset (not subclasses): dict . fromkeys ( a_dict ) # locks both dict . fromkeys ( a_set ) # locks both dict . fromkeys ( a_froze ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
組み込み型 — Python 3.14.8 ドキュメント 8319
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... () だけです。 このサポートにより、 tuple インスタンスのようなイミュータブルなシーケンスは、 dict のキーとして使え、 set や frozenset インスタンスに保存できます。 ハッシュ不可能な値を含むイミュータブルなシーケンスをハッシュ化しようとすると、 TypeError とな ... fety of memoryview objects in the free-threaded build , see Thread safety for memoryview objects . set(集合)型 --- set , frozenset ¶ A set object is an unordered collection of distinct hashable objects. Common uses include membership testing, removing d ... クシング、スライシング、その他のシーケンス的な振舞いをサポートしません。 There are currently two built-in set types, set and frozenset . The set type is mutable --- the contents can be changed using methods like add() and remove() . Since it is mutable, it ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
Python built-ins reference — Python 3.14.8 ドキュメント 8154
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference テーマ 自動 ライト ダーク | Python built-ins reference ¶ Python comes with a number of built-in functions and classes. The built-in cl ... thods Summary テキストシーケンス型 --- str バイナリシーケンス型 --- bytes , bytearray , memoryview set(集合)型 --- set , frozenset Mapping Types --- dict コンテキストマネージャ型 型アノテーション型 --- ジェネリックエイリアス 、 ユニオン その他の組み込み ... tearray objects Thread safety for memoryview objects Time complexity of operations on built-in types list tuple dict set , frozenset str , bytes , bytearray memoryview range 注釈 関連キーワード Thread objects 組み込み safety core built built-in types lang ... uage semantics シーケンス list bytearray memoryview dict functions classes these standard library tuple range bytes frozenset コンテキスト 前のトピックへ 10. 完全な文法仕様 次のトピックへ 組み込み型 This page Report a bug Improve this page Show sou ...
https://man.mtool.work/python/3.14/builtins/
Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 8003
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p ... te ( d.update(t) , d |= t ) [ 1 ] [ 3 ] [ 7 ] O (len( t )) Iteration [ 7 ] O ( n ) Get length ( len(d) ) [ 5 ] O (1) set , frozenset ¶ See dict as the set and frozenset implementations are similar, and the same caveats apply. In the worst case, O (1) oper ... ations instead take O ( n ) time, and operations that look up every element degrade accordingly. A frozenset is immutable , so it does not support adding, discarding, or the in-place update operations. The others below apply to it ... 3 , 4 , 5 , 6 , 7 ) The number of elements is stored in the object, so len() does not need to count them. [ 6 ] Copying a frozenset is O (1) as it returns the original object. [ 7 ] ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 ) These operations sc ...
https://man.mtool.work/python/3.14/builtins/time-complexity.html
Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 8003
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p ... te ( d.update(t) , d |= t ) [ 1 ] [ 3 ] [ 7 ] O (len( t )) Iteration [ 7 ] O ( n ) Get length ( len(d) ) [ 5 ] O (1) set , frozenset ¶ See dict as the set and frozenset implementations are similar, and the same caveats apply. In the worst case, O (1) oper ... ations instead take O ( n ) time, and operations that look up every element degrade accordingly. A frozenset is immutable , so it does not support adding, discarding, or the in-place update operations. The others below apply to it ... 3 , 4 , 5 , 6 , 7 ) The number of elements is stored in the object, so len() does not need to count them. [ 6 ] Copying a frozenset is O (1) as it returns the original object. [ 7 ] ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 ) These operations sc ...
https://man.mtool.work/python/3.14/builtins/time-complexity.html
Python built-ins reference — Python 3.14.8 ドキュメント 7452
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference テーマ 自動 ライト ダーク | Python built-ins reference ¶ Python comes with a number of built-in functions and classes. The built-in cl ... thods Summary テキストシーケンス型 --- str バイナリシーケンス型 --- bytes , bytearray , memoryview set(集合)型 --- set , frozenset Mapping Types --- dict コンテキストマネージャ型 型アノテーション型 --- ジェネリックエイリアス 、 ユニオン その他の組み込み ... tearray objects Thread safety for memoryview objects Time complexity of operations on built-in types list tuple dict set , frozenset str , bytes , bytearray memoryview range 注釈 関連キーワード Thread Python objects 組み込み 例外 safety core set built ins ...
https://man.mtool.work/python/3.14/builtins/
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7286
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... required_keys__ ¶ Added in version 3.9. __optional_keys__ ¶ Point2D.__required_keys__ and Point2D.__optional_keys__ return frozenset objects containing required and non-required keys, respectively. Keys marked with Required will always appear in __require ... l = False ): ... x : int ... y : int ... >>> class Point3D ( Point2D ): ... z : int ... >>> Point3D . __required_keys__ == frozenset ({ 'z' }) True >>> Point3D . __optional_keys__ == frozenset ({ 'x' , 'y' }) True Added in version 3.9. 注釈 If from __futu ... s of the attributes may be incorrect. Support for ReadOnly is reflected in the following attributes: __readonly_keys__ ¶ A frozenset containing the names of all read-only keys. Keys are read-only if they carry the ReadOnly qualifier. Added in version 3.13 ...
https://man.mtool.work/python/3.14/library/typing.html
PREV 1 2 3 4 5 6 7 8 NEXT