per page, with , order by , clip by
Results of 1 - 10 of about 66 for union (0.046 sec.)
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 12486
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... `type[int]`` is not a subtype of ``type[User]`` The only legal parameters for type are classes, Any , type variables , and unions of any of these types. For example: def new_non_team_user ( user_class : type [ BasicUser | ProUser ]): ... new_non_team_ ... ンの型として使用できます。これらは全て [] を使用した添字表記をサポートしますが、それぞれ固有の構文があります。 class typing. Union ¶ ユニオン型; Union[X, Y] は X | Y と等価で X または Y を表します。 To define a union, use e.g. Union[int, str] or the sho ... s recommended. Details: 引数は型でなければならず、少なくとも一つ必要です。 ユニオン型のユニオン型は平滑化されます。例えば: Union [ Union [ int , str ], float ] == Union [ int , str , float ] However, this does not apply to unions referenced through a ...
https://man.mtool.work/python/3.14/library/typing.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 12486
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... `type[int]`` is not a subtype of ``type[User]`` The only legal parameters for type are classes, Any , type variables , and unions of any of these types. For example: def new_non_team_user ( user_class : type [ BasicUser | ProUser ]): ... new_non_team_ ... ンの型として使用できます。これらは全て [] を使用した添字表記をサポートしますが、それぞれ固有の構文があります。 class typing. Union ¶ ユニオン型; Union[X, Y] は X | Y と等価で X または Y を表します。 To define a union, use e.g. Union[int, str] or the sho ... s recommended. Details: 引数は型でなければならず、少なくとも一つ必要です。 ユニオン型のユニオン型は平滑化されます。例えば: Union [ Union [ int , str ], float ] == Union [ int , str , float ] However, this does not apply to unions referenced through a ...
https://man.mtool.work/python/3.14/library/typing.html
組み込み型 — Python 3.14.8 ドキュメント 10103
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... clude membership testing, removing duplicates from a sequence, and computing mathematical operations such as intersection, union, difference, and symmetric difference. (For other containers see the built-in dict , list , and tuple classes, and the col ... set > other set が other の真上位集合であるかを判定します。つまり、 set >= other and set != other と等価です。 frozenset. union ( * others ) ¶ set. union ( * others ) ¶ set | other | ... set と全ての other の要素からなる新しい集合を返します。 frozens ... 新しい集合を返します。 frozenset. copy ( ) ¶ set. copy ( ) ¶ 集合の浅いコピーを返します。 Note, the non-operator versions of union() , intersection() , difference() , symmetric_difference() , issubset() , and issuperset() methods will accept any iterabl ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
What's new in Python 3.14 — Python 3.14.8 ドキュメント 10103
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 この記事では ... tocol for Token objects. (Contributed by Andrew Svetlov in gh-129889 .) ctypes ¶ The layout of bit fields in Structure and Union objects is now a closer match to platform defaults (GCC/Clang or MSVC). In particular, fields no longer overlap. (Contribu ... bute can now be set to help match a non-default ABI. (Contributed by Petr Viktorin in gh-97702 .) The class of Structure / Union field descriptors is now available as CField , and has new attributes to aid debugging and introspection. (Contributed by ... turtle.poly() , and turtle.no_animation() . (Contributed by Marie Roald and Yngve Mardal Moe in gh-126350 .) types ¶ types.UnionType is now an alias for typing.Union . See below for more details. (Contributed by Jelle Zijlstra in gh-105499 .) typing ¶ ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
What's new in Python 3.14 — Python 3.14.8 ドキュメント 10103
ナビゲーション 索引 モジュール | 次へ | 前へ | 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 この記事では ... tocol for Token objects. (Contributed by Andrew Svetlov in gh-129889 .) ctypes ¶ The layout of bit fields in Structure and Union objects is now a closer match to platform defaults (GCC/Clang or MSVC). In particular, fields no longer overlap. (Contribu ... bute can now be set to help match a non-default ABI. (Contributed by Petr Viktorin in gh-97702 .) The class of Structure / Union field descriptors is now available as CField , and has new attributes to aid debugging and introspection. (Contributed by ... turtle.poly() , and turtle.no_animation() . (Contributed by Marie Roald and Yngve Mardal Moe in gh-126350 .) types ¶ types.UnionType is now an alias for typing.Union . See below for more details. (Contributed by Jelle Zijlstra in gh-105499 .) typing ¶ ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
Pending removal in Python 3.17 — Python 3.14.8 ドキュメント 9403
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.17 テーマ 自動 ライト ダーク | Pending removal in Python 3.17 ¶ collections.abc : collections.abc.ByteString is scheduled for removal in Python 3.1 ... .abc.Buffer) to test if obj implements the buffer protocol at runtime. For use in type annotations, either use Buffer or a union that explicitly specifies the types your code supports (e.g., bytes | bytearray | memoryview ). ByteString was originally ... eckers). See PEP 688 for more details. (Contributed by Shantanu Jain in gh-91896 .) typing : Before Python 3.14, old-style unions were implemented using the private class typing._UnionGenericAlias . This class is no longer needed for the implementatio ... .abc.Buffer) to test if obj implements the buffer protocol at runtime. For use in type annotations, either use Buffer or a union that explicitly specifies the types your code supports (e.g., bytes | bytearray | memoryview ). ByteString was originally ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.17.html
ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 9118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外 ... s ) 3 >>> print ( i . value , f . value , repr ( s . value )) 1 3.1400001049 b'Hello' >>> 構造体と共用体 ¶ Structures and unions must derive from the Structure and Union base classes which are defined in the ctypes module. Each subclass must define a ... eld name and a field type . The field type must be a ctypes type like c_int , or any other derived ctypes type: structure, union, array, pointer. 以下は、 x と y という名前の二つの整数からなる簡単な POINT 構造体の例です。コンストラクタで構造体を初期化 ... c_int, ofs=0, size=4> >>> POINT . y <ctypes.CField 'y' type=c_int, ofs=4, size=4> >>> 警告 ctypes does not support passing unions or structures with bit-fields to functions by value. While this may work on 32-bit x86, it's not guaranteed by the librar ...
https://man.mtool.work/python/3.14/library/ctypes.html
ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 9118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外 ... s ) 3 >>> print ( i . value , f . value , repr ( s . value )) 1 3.1400001049 b'Hello' >>> 構造体と共用体 ¶ Structures and unions must derive from the Structure and Union base classes which are defined in the ctypes module. Each subclass must define a ... eld name and a field type . The field type must be a ctypes type like c_int , or any other derived ctypes type: structure, union, array, pointer. 以下は、 x と y という名前の二つの整数からなる簡単な POINT 構造体の例です。コンストラクタで構造体を初期化 ... c_int, ofs=0, size=4> >>> POINT . y <ctypes.CField 'y' type=c_int, ofs=4, size=4> >>> 警告 ctypes does not support passing unions or structures with bit-fields to functions by value. While this may work on 32-bit x86, it's not guaranteed by the librar ...
https://man.mtool.work/python/3.14/library/ctypes.html
索引 — Python 3.14.8 ドキュメント 8276
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – U U (re モジュール) u" 文字列リテラル u' 文字列リテラル UAdd (ast のクラス) ucd_3_2_0 (unicodedata モジュール) udata (select.kevent の ... a_version (unicodedata モジュール) unified_diff() (difflib モジュール) uniform() (random モジュール) UnimplementedFileMode Union object union type Union (ctypes のクラス) (typing のクラス) union() (frozenset のメソッド) (set のメソッド) UnionType (typ ...
https://man.mtool.work/python/3.14/genindex-U.html
変更履歴 — Python 3.14.8 ドキュメント 8276
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... branch or loop. gh-152235 : Defer GC tracking of set.intersection() , set.difference() , set.symmetric_difference() , set.union() and set.__sub__ . Patch by Donghee Na. gh-152235 : Defer GC tracking of a set or frozenset to the end of its constructio ... lias when the underlying type does not support the vectorcall protocol. Fix possible leaks in types.GenericAlias and types.UnionType in case of memory error. gh-148208 : Fix recursion depth leak in PyObject_Print() gh-137814 : Fix the __qualname__ att ... te__ functions attached to the methods. gh-140348 : Fix regression in Python 3.14.0 where using the | operator on a typing.Union object combined with an object that is not a type would raise an error. gh-140272 : Fix memory leak in the clear() method ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 2 3 4 5 6 7 NEXT