Results of 1 - 10 of about 12 for radd (0.011 sec.)
- numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 12788
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li
...t both to the nearest built in type and do the operation there. For subtypes of Integral , this means that __add__() and __radd__() should be defined as: class MyIntegral ( Integral ): def __add__ ( self , other ): if isinstance ( other , MyIntegral...tance ( other , OtherTypeIKnowAbout ): return do_my_other_adding_stuff ( self , other ) else : return NotImplemented def __radd__ ( self , other ): if isinstance ( other , MyIntegral ): return do_my_adding_stuff ( other , self ) elif isinstance ( oth...erplate code, and it were to return a value from __add__() , we'd miss the possibility that B defines a more intelligent __radd__() , so the boilerplate should return NotImplemented from __add__() . (Or A may not implement __add__() at all.) Then B '... - https://man.mtool.work/python/3.14/library/numbers.html
- numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 12788
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li
...t both to the nearest built in type and do the operation there. For subtypes of Integral , this means that __add__() and __radd__() should be defined as: class MyIntegral ( Integral ): def __add__ ( self , other ): if isinstance ( other , MyIntegral...tance ( other , OtherTypeIKnowAbout ): return do_my_other_adding_stuff ( self , other ) else : return NotImplemented def __radd__ ( self , other ): if isinstance ( other , MyIntegral ): return do_my_adding_stuff ( other , self ) elif isinstance ( oth...erplate code, and it were to return a value from __add__() , we'd miss the possibility that B defines a more intelligent __radd__() , so the boilerplate should return NotImplemented from __add__() . (Or A may not implement __add__() at all.) Then B '... - https://man.mtool.work/python/3.14/library/numbers.html
- 索引 — Python 3.14.8 ドキュメント 8207
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera
...ド) (operator モジュール) __prepare__ (metaclass method) __qualname__ (definition の属性) (function の属性) (type の属性) __radd__() (object のメソッド) __rand__() (object のメソッド) __rdivmod__() (object のメソッド) __readonly_keys__ (typing.TypedDi... - https://man.mtool.work/python/3.14/genindex-_.html
- 3. データモデル — Python 3.14.8 ドキュメント 8207
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da
...ct that the import machinery used to load the module. This attribute is mostly useful for introspection, but can be used for additional loader-specific functionality, for example getting data associated with a loader. __loader__ defaults to None for...d implement addition (meaning concatenation) and multiplication (meaning repetition) by defining the methods __add__() , __radd__() , __iadd__() , __mul__() , __rmul__() and __imul__() described below; they should not define other numerical operators...e of those methods does not support the operation with the supplied arguments, it should return NotImplemented . object. __radd__ ( self , other ) ¶ object. __rsub__ ( self , other ) ¶ object. __rmul__ ( self , other ) ¶ object. __rmatmul__ ( self ,... - https://man.mtool.work/python/3.14/reference/datamodel.html
- 索引 — Python 3.14.8 ドキュメント 8207
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera
...ド) (operator モジュール) __prepare__ (metaclass method) __qualname__ (definition の属性) (function の属性) (type の属性) __radd__() (object のメソッド) __rand__() (object のメソッド) __rdivmod__() (object のメソッド) __readonly_keys__ (typing.TypedDi... - https://man.mtool.work/python/3.14/genindex-_.html
- 3. データモデル — Python 3.14.8 ドキュメント 8207
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da
...ct that the import machinery used to load the module. This attribute is mostly useful for introspection, but can be used for additional loader-specific functionality, for example getting data associated with a loader. __loader__ defaults to None for...d implement addition (meaning concatenation) and multiplication (meaning repetition) by defining the methods __add__() , __radd__() , __iadd__() , __mul__() , __rmul__() and __imul__() described below; they should not define other numerical operators...e of those methods does not support the operation with the supplied arguments, it should return NotImplemented . object. __radd__ ( self , other ) ¶ object. __rsub__ ( self , other ) ¶ object. __rmul__ ( self , other ) ¶ object. __rmatmul__ ( self ,... - https://man.mtool.work/python/3.14/reference/datamodel.html
- Type Object Structures — Python 3.14.8 ドキュメント 7959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...unaryfunc __await__ am_aiter unaryfunc __aiter__ am_anext unaryfunc __anext__ am_send sendfunc nb_add binaryfunc __add__ __radd__ nb_inplace_add binaryfunc __iadd__ nb_subtract binaryfunc __sub__ __rsub__ nb_inplace_subtract binaryfunc __isub__ nb_mu... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 7959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...er. In the latter case, the sequences are concatenated. This operation can be customized using the special __add__() and __radd__() methods. バージョン 3.14 で変更: If only one operand is a complex number, the other operand is converted to a floating... - https://man.mtool.work/python/3.14/reference/expressions.html
- Type Object Structures — Python 3.14.8 ドキュメント 7959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...unaryfunc __await__ am_aiter unaryfunc __aiter__ am_anext unaryfunc __anext__ am_send sendfunc nb_add binaryfunc __add__ __radd__ nb_inplace_add binaryfunc __iadd__ nb_subtract binaryfunc __sub__ __rsub__ nb_inplace_subtract binaryfunc __isub__ nb_mu... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 索引 — Python 3.14.8 ドキュメント 7959
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...ド) (operator モジュール) __prepare__ (metaclass method) __qualname__ (definition の属性) (function の属性) (type の属性) __radd__() (object のメソッド) __rand__() (object のメソッド) __rdivmod__() (object のメソッド) __readonly_keys__ (typing.TypedDi...headerregistry.Group の属性) AddressHeader (email.headerregistry のクラス) addressof() (ctypes モジュール) AddressValueError addshape() (turtle モジュール) addsitedir() (site モジュール) addSkip() (unittest.TestResult のメソッド) addstr() (curses.win... - https://man.mtool.work/python/3.14/genindex-all.html