Home
last modified time | relevance | path

Searched refs:__radd__ (Results 1 – 25 of 72) sorted by relevance

123

/external/python/cpython3/Doc/library/
Dnumbers.rst126 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)
/external/python/cpython2/Doc/library/
Dnumbers.rst122 means that :meth:`__add__` and :meth:`__radd__` should be defined as::
134 def __radd__(self, other):
160 that ``B`` defines a more intelligent :meth:`__radd__`, so the
164 3. Then ``B``'s :meth:`__radd__` gets a chance. If it accepts
169 5. If ``B <: A``, Python tries ``B.__radd__`` before
176 in :class:`complex`, and both :meth:`__radd__` s land there, so ``a+b
218 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
/external/tensorflow/tensorflow/python/kernel_tests/
Dtensor_priority_test.py54 def __radd__(self, lhs): member in TensorPriorityTest.testUnsupportedRhsWithDelegation.WithReverseAdd
66 def __radd__(self, lhs): member in TensorPriorityTest.testFullDelegationControlUsingRegistry.NumpyArraySubclass
/external/python/cachetools/src/cachetools/
Dkeys.py25 def __radd__(self, other, add=tuple.__add__): member in _HashedTuple
/external/python/cpython3/Lib/test/
Dtest_augassign.py72 def __radd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test
124 def __radd__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_userlist.py35 u2 = u.__radd__(UserList("spam"))
/external/python/cpython2/Lib/test/
Dtest_augassign.py84 def __radd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test
128 def __radd__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_userlist.py28 u2 = u.__radd__(UserList("spam"))
/external/python/cpython3/Lib/xml/dom/
Dminicompat.py82 def __radd__(self, other): member in EmptyNodeList
/external/python/cpython2/Lib/xml/dom/
Dminicompat.py83 def __radd__(self, other): member in EmptyNodeList
/external/python/dateutil/dateutil/
Drelativedelta.py151 dtm = self.__radd__(dt2)
164 dtm = self.__radd__(dt2)
404 def __radd__(self, other): member in relativedelta
408 return self.__neg__().__radd__(other)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_operators.py66 ragged_tensor.RaggedTensor.__radd__ = _right(math_ops.add)
/external/fonttools/Lib/fontTools/misc/
Dvector.py54 __radd__ = __add__ variable in Vector
/external/python/cpython2/Lib/
Dnumbers.py78 def __radd__(self, other): member in Complex
DUserList.py55 def __radd__(self, other): member in UserList
/external/python/cpython3/Lib/
Dnumbers.py77 def __radd__(self, other): member in Complex
/external/python/pyasn1/pyasn1/type/
Dtag.py209 def __radd__(self, superTag): member in TagSet
Dconstraint.py586 def __radd__(self, value): member in AbstractConstraintSet
/external/python/cpython2/Demo/classes/
DDates.py156 __radd__ = __add__ # handle int+date variable in Date
DComplex.py182 __radd__ = __add__ variable in Complex
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py368 def __radd__(self, other): member in Dimension
997 def __radd__(self, other): member in TensorShape
/external/libchrome/third_party/markupsafe/
D__init__.py83 def __radd__(self, other): member in Markup
/external/python/dateutil/dateutil/test/
D_common.py219 __add__ = __radd__ = _op
/external/python/markupsafe/src/markupsafe/
D__init__.py63 def __radd__(self, other): member in Markup
/external/clang/utils/ABITest/
DEnumeration.py25 __radd__ = __add__ variable in Aleph0

123