per page, with , order by , clip by
Results of 1 - 2 of about 2 for issubset (0.003 sec.)
What's New in Python 2.3 11228
What's New in Python 2.3 著者 : A.M. Kuchling この文書は Python 2.3 の新機能について解説します。Python 2.3 は 2003 年 7 月 29 日にリリースされました。 Python 2.3 の主要なテーマは、2.2 で追加されたいくつかの機能を磨くこと、言語中核に小さいな ... = sets . Set ([ 3 , 4 , 5 , 6 ]) >>> S1 . symmetric_difference ( S2 ) Set([1, 2, 5, 6]) >>> S1 ^ S2 Set([1, 2, 5, 6]) >>> issubset() と issuperset() メソッドも使えます。これはある集合が部分集合、上位集合であるかとうかをチェックします: >>> S1 = sets . Se ... t ([ 1 , 2 , 3 ]) >>> S2 = sets . Set ([ 2 , 3 ]) >>> S2 . issubset ( S1 ) True >>> S1 . issubset ( S2 ) False >>> S1 . issuperset ( S2 ) True >>> 参考 PEP 218 - 集合オブジェクト型をビルトイ ...
https://man.mtool.work/python/3.14/whatsnew/2.3.html
スレッドセーフ性の保証 7485
スレッドセーフ性の保証 このページでは、Python のフリースレッドビルドにおける組み込み型のスレッドセーフ性の保証を説明します。 ここで説明する保証は、 GIL を無効にして Python を使う場合 (フリースレッドモード) に適用されます。 GIL が有効な場合、 ... をロックします。 次のメソッドは、常に両方のオブジェクトのロックを試みます。 s . isdisjoint ( other ) # 両方をロックする s . issubset ( other ) # 両方をロックする s . issuperset ( other ) # 両方をロックする 複数回のアクセスを伴う操作やイテレーションは、アト ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
PREV 1 NEXT