Home
last modified time | relevance | path

Searched refs:__radd__ (Results 1 - 25 of 27) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_augassign.py72 def __radd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test
124 def __radd__(self, val): member in AugAssignTest.testCustomMethods2.testall
125 output.append("__radd__ called")
285 __radd__ called
H A Dtest_userlist.py35 u2 = u.__radd__(UserList("spam"))
H A Dtest_binop.py92 __radd__ = __add__ variable in Rat
H A Dtest_statistics.py1134 __radd__ = __add__ variable in UnivariateCommonMixin.test_type_of_data_element.MyFloat
1169 __radd__ = __add__ variable in UnivariateTypeMixin.prepare_types_for_conservation_test.MyFloat
2924 self.assertEqual(y + X, NormalDist(110, 15)) # __radd__
H A Dtest_descr.py298 self.assertEqual(complex.__radd__(3j, 4.0), complex(4.0, 3.0))
2711 # (Note that overriding __radd__ doesn't work,
2732 __radd__ = __add__ variable in .test_basic_inheritance.octlong
2734 # (Note that overriding __radd__ here only seems to work
3449 __radd__ = __add__ variable in .test_binary_operator_override.I
/third_party/python/Lib/xml/dom/
H A Dminicompat.py82 def __radd__(self, other): member in EmptyNodeList
/third_party/python/Lib/
H A Dnumbers.py77 def __radd__(self, other): member in Complex
H A Dfractions.py288 Fraction, that means that we define __add__ and __radd__ as:
306 def __radd__(self, other):
331 possibility that B defines a more intelligent __radd__,
336 3. If B <: Fraction, Python tries B.__radd__ before
349 5. Otherwise, __radd__ tries to find the nearest common
466 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
H A Ddatetime.py749 __radd__ = __add__ variable in timedelta
907 __add__, __radd__, __sub__ (add/radd only with timedelta arg)
1152 __radd__ = __add__ variable in date
2200 __radd__ = __add__ variable in datetime
H A Dstatistics.py1365 __radd__ = __add__ variable in NormalDist
H A D_pydecimal.py1253 __radd__ = __add__ variable in Decimal
/third_party/node/deps/v8/third_party/markupsafe/
H A D__init__.py83 def __radd__(self, other): member in Markup
/third_party/node/tools/inspector_protocol/markupsafe/
H A D__init__.py83 def __radd__(self, other): member in Markup
/third_party/skia/third_party/externals/markupsafe/
H A D__init__.py83 def __radd__(self, other): member in Markup
/third_party/markupsafe/
H A D__init__.py87 def __radd__(self, other: t.Union[str, "HasHTML"]) -> "te.Self": member in Markup
/third_party/python/Include/internal/
H A Dpycore_global_strings.h169 STRUCT_FOR_ID(__radd__)
H A Dpycore_runtime_init.h792 INIT_ID(__radd__), \
/third_party/python/Modules/_decimal/tests/
H A Ddeccheck.py84 '__radd__', '__rdivmod__', '__rfloordiv__', '__rmod__', '__rmul__',
549 def __radd__(self, t): member in SkipHandler
551 not important, as __radd__ will not be called for
556 __rmul__ = __radd__
/third_party/node/deps/v8/third_party/jinja2/
H A Druntime.py756 __radd__
/third_party/node/tools/inspector_protocol/jinja2/
H A Druntime.py643 __add__ = __radd__ = __mul__ = __rmul__ = __div__ = __rdiv__ = \
/third_party/skia/third_party/externals/jinja2/
H A Druntime.py756 __radd__
/third_party/python/Lib/unittest/test/testmock/
H A Dtestmagicmethods.py126 mock.__radd__ = add
/third_party/jinja2/
H A Druntime.py861 __add__ = __radd__ = __sub__ = __rsub__ = _fail_with_undefined_error
/third_party/python/Lib/collections/
H A D__init__.py1256 def __radd__(self, other): member in UserList
1403 def __radd__(self, other): member in UserString
/third_party/protobuf/python/google/protobuf/internal/
H A Dtest_util.py786 def __radd__(self, y): member in NonStandardInteger

Completed in 43 milliseconds

12