per page, with , order by , clip by
Results of 1 - 10 of about 121 for compare (0.011 sec.)
decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 10099
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数 ... l methods apply. Likewise, decimal objects can be copied, pickled, printed, used as dictionary keys, used as set elements, compared, sorted, and coerced to another type (such as float or int ). 十進オブジェクトの算術演算と整数や浮動小数点数の算術演算には ... を返します。現在のところ、 Decimal インスタンスのエンコーディングは常に標準的なので、この操作は引数に手を加えずに返します。 compare ( other , context = None ) ¶ 二つの Decimal インスタンスの値を比較します。 compare() は Decimal インスタンスを返し、被演算 ... です: a or b is a NaN ==> Decimal ( 'NaN' ) a < b ==> Decimal ( '-1' ) a == b ==> Decimal ( '0' ) a > b ==> Decimal ( '1' ) compare_signal ( other , context = None ) ¶ この演算は compare() とほとんど同じですが、全ての NaN がシグナルを送るところが異なりま ...
https://man.mtool.work/python/3.14/library/decimal.html
decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 10099
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数 ... l methods apply. Likewise, decimal objects can be copied, pickled, printed, used as dictionary keys, used as set elements, compared, sorted, and coerced to another type (such as float or int ). 十進オブジェクトの算術演算と整数や浮動小数点数の算術演算には ... を返します。現在のところ、 Decimal インスタンスのエンコーディングは常に標準的なので、この操作は引数に手を加えずに返します。 compare ( other , context = None ) ¶ 二つの Decimal インスタンスの値を比較します。 compare() は Decimal インスタンスを返し、被演算 ... です: a or b is a NaN ==> Decimal ( 'NaN' ) a < b ==> Decimal ( '-1' ) a == b ==> Decimal ( '0' ) a > b ==> Decimal ( '1' ) compare_signal ( other , context = None ) ¶ この演算は compare() とほとんど同じですが、全ての NaN がシグナルを送るところが異なりま ...
https://man.mtool.work/python/3.14/library/decimal.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9715
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... eld expressions can occur | Await ( expr value ) | Yield ( expr ? value ) | YieldFrom ( expr value ) -- need sequences for compare to distinguish between -- x < 4 < 3 and (x < 4) < 3 | Compare ( expr left , cmpop * ops , expr * comparators ) | Call ( ex ... 'x', ctx=Load()), Name(id='y', ctx=Load())])) class ast. And ¶ class ast. Or ¶ 論理演算の演算子をあらわします。 class ast. Compare ( left , ops , comparators ) ¶ 2つ以上の値の比較をあらわします。 left 比較の中の最初の値、 ops は演算子のリスト、 comparat ... 降の値のリストです。 >>> print ( ast . dump ( ast . parse ( '1 <= a < 10' , mode = 'eval' ), indent = 4 )) Expression( body=Compare( left=Constant(value=1), ops=[ LtE(), Lt()], comparators=[ Name(id='a', ctx=Load()), Constant(value=10)])) class ast. Eq ¶ ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9715
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... eld expressions can occur | Await ( expr value ) | Yield ( expr ? value ) | YieldFrom ( expr value ) -- need sequences for compare to distinguish between -- x < 4 < 3 and (x < 4) < 3 | Compare ( expr left , cmpop * ops , expr * comparators ) | Call ( ex ... 'x', ctx=Load()), Name(id='y', ctx=Load())])) class ast. And ¶ class ast. Or ¶ 論理演算の演算子をあらわします。 class ast. Compare ( left , ops , comparators ) ¶ 2つ以上の値の比較をあらわします。 left 比較の中の最初の値、 ops は演算子のリスト、 comparat ... 降の値のリストです。 >>> print ( ast . dump ( ast . parse ( '1 <= a < 10' , mode = 'eval' ), indent = 4 )) Expression( body=Compare( left=Constant(value=1), ops=[ LtE(), Lt()], comparators=[ Name(id='a', ctx=Load()), Constant(value=10)])) class ast. Eq ¶ ...
https://man.mtool.work/python/3.14/library/ast.html
hmac --- メッセージ認証のための鍵付きハッシュ化 — Python 3.14.8 ドキュメント 9145
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 暗号関連のサービス » hmac --- メッセージ認証のための鍵付きハッシュ化 テーマ 自動 ライト ダーク | hmac --- メッセージ認証のための鍵付 ... paring the output of digest() to an externally supplied digest during a verification routine, it is recommended to use the compare_digest() function instead of the == operator to reduce the vulnerability to timing attacks. HMAC. hexdigest ( ) ¶ digest() ... ing the output of hexdigest() to an externally supplied digest during a verification routine, it is recommended to use the compare_digest() function instead of the == operator to reduce the vulnerability to timing attacks. HMAC. copy ( ) ¶ hmac オブジェ ... mented attributes HMAC.digest_cons , HMAC.inner , and HMAC.outer . このモジュールは以下のヘルパ関数も提供しています: hmac. compare_digest ( a , b ) ¶ a == b を返します。この関数は、内容ベースの短絡的な振る舞いを避けることによってタイミング分析を防ぐよう ...
https://man.mtool.work/python/3.14/library/hmac.html
索引 — Python 3.14.8 ドキュメント 8946
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – C C 構造体 言語 , [1] , [2] , [3] , [4] C-contiguous , [1] C14NWriterTarget (xml.etree.ElementTree のクラス) c_bool (ctypes のクラス) ... ル) commonprefix() (os.path モジュール) communicate() (asyncio.subprocess.Process のメソッド) (subprocess.Popen のメソッド) Compare (ast のクラス) compare() (ast モジュール) (decimal.Context のメソッド) (decimal.Decimal のメソッド) (difflib.Differ のメソ ... ッド) (tkinter.Text のメソッド) compare_digest() (hmac モジュール) (secrets モジュール) compare_networks() (ipaddress.IPv4Network のメソッド) (ipaddress.IPv6Netwo ... rk のメソッド) COMPARE_OP (opcode) compare_signal() (decimal.Context のメソッド) (decimal.Decimal のメソッド) compare_to() (tracemalloc.Snapshot ...
https://man.mtool.work/python/3.14/genindex-C.html
索引 — Python 3.14.8 ドキュメント 8946
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – C C 構造体 言語 , [1] , [2] , [3] , [4] C-contiguous , [1] C14NWriterTarget (xml.etree.ElementTree のクラス) c_bool (ctypes のクラス) ... ル) commonprefix() (os.path モジュール) communicate() (asyncio.subprocess.Process のメソッド) (subprocess.Popen のメソッド) Compare (ast のクラス) compare() (ast モジュール) (decimal.Context のメソッド) (decimal.Decimal のメソッド) (difflib.Differ のメソ ... ッド) (tkinter.Text のメソッド) compare_digest() (hmac モジュール) (secrets モジュール) compare_networks() (ipaddress.IPv4Network のメソッド) (ipaddress.IPv6Netwo ... rk のメソッド) COMPARE_OP (opcode) compare_signal() (decimal.Context のメソッド) (decimal.Decimal のメソッド) compare_to() (tracemalloc.Snapshot ...
https://man.mtool.work/python/3.14/genindex-C.html
dataclasses --- データクラス — Python 3.14.8 ドキュメント 8575
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L ... ines __repr__() , this parameter is ignored. eq : If true (the default), an __eq__() method will be generated. This method compares the class by comparing each field in order. Both instances in the comparison must be of the identical type. If the class ... already defines __eq__() , this parameter is ignored. バージョン 3.13 で変更: The generated __eq__ method now compares each field individually (for example, self.a == other.a and self.b == other.b ), rather than comparing tuples of fields a ... s in previous versions. This change makes the comparison faster but it may alter results in cases where attributes compare equal by identity but not by value (such as float('nan') ). In Python 3.12 and earlier, the comparison was performed by cr ...
https://man.mtool.work/python/3.14/library/dataclasses.html
unittest.mock --- 入門 — Python 3.14.8 ドキュメント 8575
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- 入門 テーマ 自動 ライト ダーク | unittest.mock --- 入門 ¶ Added in version 3.3. Mock を使う ¶ Mock p ... lex assertions on objects used as arguments to mocks. Suppose we expect some object to be passed to a mock that by default compares equal based on object identity (which is the Python default for user defined classes). To use assert_called_with() we wou ... tual: mock(<__main__.Foo object at 0x...>) A comparison function for our Foo class might look something like this: >>> def compare ( self , other ): ... if not type ( self ) == type ( other ): ... return False ... if self . a != other . a : ... return F ... nctions like this for its equality operation would look something like this: >>> class Matcher : ... def __init__ ( self , compare , some_obj ): ... self . compare = compare ... self . some_obj = some_obj ... def __eq__ ( self , other ): ... return self ...
https://man.mtool.work/python/3.14/library/unittest.mock-examples.html
dataclasses --- データクラス — Python 3.14.8 ドキュメント 8575
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L ... ines __repr__() , this parameter is ignored. eq : If true (the default), an __eq__() method will be generated. This method compares the class by comparing each field in order. Both instances in the comparison must be of the identical type. If the class ... already defines __eq__() , this parameter is ignored. バージョン 3.13 で変更: The generated __eq__ method now compares each field individually (for example, self.a == other.a and self.b == other.b ), rather than comparing tuples of fields a ... s in previous versions. This change makes the comparison faster but it may alter results in cases where attributes compare equal by identity but not by value (such as float('nan') ). In Python 3.12 and earlier, the comparison was performed by cr ...
https://man.mtool.work/python/3.14/library/dataclasses.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT