/third_party/python/Doc/library/ |
D | numbers.rst | 126 means that :meth:`__add__` and :meth:`__radd__` should be defined as:: 138 def __radd__(self, other): 164 that ``B`` defines a more intelligent :meth:`__radd__`, so the 168 3. Then ``B``'s :meth:`__radd__` gets a chance. If it accepts 173 5. If ``B <: A``, Python tries ``B.__radd__`` before 180 in :class:`complex`, and both :meth:`__radd__` s land there, so ``a+b 222 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
|
/third_party/python/Lib/test/ |
D | test_augassign.py | 72 def __radd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test 124 def __radd__(self, val): member in AugAssignTest.testCustomMethods2.testall
|
D | test_userlist.py | 35 u2 = u.__radd__(UserList("spam"))
|
D | test_binop.py | 92 __radd__ = __add__ variable in Rat
|
D | test_statistics.py | 1177 __radd__ = __add__ variable in UnivariateCommonMixin.test_type_of_data_element.MyFloat 1212 __radd__ = __add__ variable in UnivariateTypeMixin.prepare_types_for_conservation_test.MyFloat
|
D | test_descr.py | 297 self.assertEqual(complex.__radd__(3j, 4.0), complex(4.0, 3.0)) 2716 __radd__ = __add__ variable in ClassPropertiesAndMethods.test_basic_inheritance.octlong 3433 __radd__ = __add__ variable in ClassPropertiesAndMethods.test_binary_operator_override.I
|
/third_party/python/Lib/xml/dom/ |
D | minicompat.py | 82 def __radd__(self, other): member in EmptyNodeList
|
/third_party/python/Lib/ |
D | numbers.py | 77 def __radd__(self, other): member in Complex
|
D | fractions.py | 465 __add__, __radd__ = _operator_fallbacks(_add, operator.add) variable in Fraction
|
D | datetime.py | 618 __radd__ = __add__ variable in timedelta 1043 __radd__ = __add__ variable in date 2088 __radd__ = __add__ variable in datetime
|
D | statistics.py | 1248 __radd__ = __add__ variable in NormalDist
|
D | _pydecimal.py | 1243 __radd__ = __add__ variable in Decimal
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
D | __init__.py | 83 def __radd__(self, other): member in Markup
|
/third_party/skia/third_party/externals/markupsafe/ |
D | __init__.py | 83 def __radd__(self, other): member in Markup
|
/third_party/node/deps/v8/third_party/markupsafe/ |
D | __init__.py | 83 def __radd__(self, other): member in Markup
|
/third_party/markupsafe/ |
D | __init__.py | 90 def __radd__(self, other: t.Union[str, "HasHTML"]) -> "Markup": member in Markup
|
/third_party/python/Modules/_decimal/tests/ |
D | deccheck.py | 549 def __radd__(self, t): member in SkipHandler 556 __rmul__ = __radd__
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1234 def __radd__(self, other): member in UserList 1381 def __radd__(self, other): member in UserString
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | runtime.py | 756 __radd__
|
/third_party/skia/third_party/externals/jinja2/ |
D | runtime.py | 756 __radd__
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 126 mock.__radd__ = add
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | runtime.py | 643 __add__ = __radd__ = __mul__ = __rmul__ = __div__ = __rdiv__ = \
|
/third_party/jinja2/ |
D | runtime.py | 861 __add__ = __radd__ = __sub__ = __rsub__ = _fail_with_undefined_error
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | test_util.py | 786 def __radd__(self, y): member in NonStandardInteger
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 2379 :meth:`~object.__add__`, :meth:`~object.__radd__`, :meth:`~object.__iadd__`, 2571 .. method:: object.__radd__(self, other) 2635 ``y.__radd__(x)`` are considered, as with the evaluation of ``x + y``. In
|