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

12

/external/tensorflow/tensorflow/python/kernel_tests/
H A Dtensor_priority_test.py58 def __radd__(self, lhs): member in class:TensorPriorityTest.testUnsupportedRhsWithDelegation.WithReverseAdd
70 def __radd__(self, lhs): member in class:TensorPriorityTest.testFullDelegationControlUsingRegistry.NumpyArraySubclass
/external/python/cpython2/Lib/xml/dom/
H A Dminicompat.py83 def __radd__(self, other): member in class:EmptyNodeList
/external/python/cpython3/Lib/xml/dom/
H A Dminicompat.py82 def __radd__(self, other): member in class:EmptyNodeList
/external/python/cpython2/Lib/test/
H A Dtest_userlist.py28 u2 = u.__radd__(UserList("spam"))
H A Dtest_augassign.py84 def __radd__(self, val): member in class:AugAssignTest.testCustomMethods1.aug_test
128 def __radd__(self, val): member in class:AugAssignTest.testCustomMethods2.testall
129 output.append("__radd__ called")
289 __radd__ called
H A Dtest_coercion.py42 def __radd__(self,other): member in class:MethodNumber
H A Dtest_binop.py97 __radd__ = __add__ variable in class:Rat
/external/python/cpython3/Lib/test/
H A Dtest_userlist.py29 u2 = u.__radd__(UserList("spam"))
H A Dtest_augassign.py72 def __radd__(self, val): member in class:AugAssignTest.testCustomMethods1.aug_test
124 def __radd__(self, val): member in class:AugAssignTest.testCustomMethods2.testall
125 output.append("__radd__ called")
285 __radd__ called
H A Dtest_binop.py93 __radd__ = __add__ variable in class:Rat
/external/python/cpython2/Lib/
H A Dnumbers.py78 def __radd__(self, other): member in class:Complex
H A DUserList.py55 def __radd__(self, other): member in class:UserList
H A DUserString.py50 def __radd__(self, other): member in class:UserString
H A Dfractions.py291 Fraction, that means that we define __add__ and __radd__ as:
309 def __radd__(self, other):
334 possibility that B defines a more intelligent __radd__,
339 3. If B <: Fraction, Python tries B.__radd__ before
352 5. Otherwise, __radd__ tries to find the nearest common
393 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
/external/python/cpython3/Lib/
H A Dnumbers.py77 def __radd__(self, other): member in class:Complex
H A Dfractions.py305 Fraction, that means that we define __add__ and __radd__ as:
323 def __radd__(self, other):
348 possibility that B defines a more intelligent __radd__,
353 3. If B <: Fraction, Python tries B.__radd__ before
366 5. Otherwise, __radd__ tries to find the nearest common
407 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
H A Ddatetime.py514 __radd__ = __add__ variable in class:timedelta
672 __add__, __radd__, __sub__ (add/radd only with timedelta arg)
882 __radd__ = __add__ variable in class:date
1853 __radd__ = __add__ variable in class:datetime
/external/libmojo/third_party/markupsafe/
H A D__init__.py83 def __radd__(self, other): member in class:Markup
/external/python/cpython2/Demo/classes/
H A DDates.py156 __radd__ = __add__ # handle int+date variable in class:Date
H A DComplex.py182 __radd__ = __add__ variable in class:Complex
/external/clang/utils/ABITest/
H A DEnumeration.py25 __radd__ = __add__ variable in class:Aleph0
/external/python/cpython3/Modules/_decimal/tests/
H A Ddeccheck.py69 '__radd__', '__rdivmod__', '__rfloordiv__', '__rmod__', '__rmul__',
514 def __radd__(self, t): member in class:SkipHandler
516 not important, as __radd__ will not be called for
521 __rmul__ = __radd__
/external/libmojo/third_party/jinja2/
H A Druntime.py493 __add__ = __radd__ = __mul__ = __rmul__ = __div__ = __rdiv__ = \
/external/python/cpython3/Lib/unittest/test/testmock/
H A Dtestmagicmethods.py124 mock.__radd__ = add
/external/python/cpython3/Lib/collections/
H A D__init__.py1061 def __radd__(self, other): member in class:UserList
1154 def __radd__(self, other): member in class:UserString

Completed in 587 milliseconds

12