/external/python/cpython2/Doc/library/ |
D | numbers.rst | 122 means that :meth:`__add__` and :meth:`__radd__` should be defined as:: 126 def __add__(self, other): 156 1. If ``A`` defines an :meth:`__add__` which accepts ``b``, all is 159 return a value from :meth:`__add__`, we'd miss the possibility 162 :meth:`__add__`. (Or ``A`` may not implement :meth:`__add__` at 170 ``A.__add__``. This is ok, because it was implemented with 218 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
|
/external/libmojo/third_party/markupsafe/ |
D | __init__.py | 78 def __add__(self, other): member in Markup 80 return self.__class__(super(Markup, self).__add__(self.escape(other))) 85 return self.escape(other).__add__(self)
|
/external/python/cpython2/Demo/classes/ |
D | Dates.py | 152 def __add__(self, n): member in Date 156 __radd__ = __add__ # handle int+date
|
D | Vec.py | 46 def __add__(self, other): member in Vec
|
D | Complex.py | 178 def __add__(self, other): member in Complex 182 __radd__ = __add__
|
D | bitvec.py | 259 def __add__(self, other): member in BitVec
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | geometry.py | 22 def __add__(self, other): member in Point
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | geometry.py | 22 def __add__(self, other): member in Point
|
/external/python/cpython2/Lib/test/ |
D | test_augassign.py | 86 def __add__(self, val): member in AugAssignTest.testCustomMethods1.aug_test 126 def __add__(self, val): member in AugAssignTest.testCustomMethods2.testall
|
D | test_descr.py | 247 def __add__(self, other): member in OperatorsTest.test_ints.C 2504 def __add__(self, other): member in ClassPropertiesAndMethods.test_basic_inheritance.hexint 2505 return hexint(int.__add__(self, other)) 2528 def __add__(self, other): member in ClassPropertiesAndMethods.test_basic_inheritance.octlong 2529 return self.__class__(super(octlong, self).__add__(other)) 2530 __radd__ = __add__ 3446 def __add__(self, other): member in ClassPropertiesAndMethods.test_binary_operator_override.I 3448 __radd__ = __add__ 4465 self.assertEqual(l.__add__, l.__add__) 4466 self.assertEqual(l.__add__, [].__add__) [all …]
|
D | test_binop.py | 86 def __add__(self, other): member in Rat 97 __radd__ = __add__
|
D | test_coercion.py | 39 def __add__(self,other): member in MethodNumber
|
D | test_complex.py | 391 def __add__(self,other): member in ComplexTest.test_subclass.xcomplex 393 __radd__ = __add__
|
D | test_operator.py | 13 def __add__(self, other): member in Seq1 27 def __add__(self, other): member in Seq2
|
/external/python/cpython2/Tools/scripts/ |
D | find_recursionlimit.py | 50 def __add__(self, x): member in RecursiveBlowup4
|
/external/python/cpython2/Lib/xml/dom/ |
D | minicompat.py | 78 def __add__(self, other): member in EmptyNodeList
|
/external/clang/utils/ABITest/ |
D | Enumeration.py | 23 def __add__(self, b): member in Aleph0 25 __radd__ = __add__
|
/external/deqp/modules/gles31/scripts/ |
D | genutil.py | 305 def __add__(self, val): member in Scalar 352 def __add__(self, val): member in Uint 353 return Scalar.__add__(self, val).toUint() 464 def __add__(self, val): member in Vec2 581 def __add__(self, val): member in Vec3 695 def __add__(self, val): member in Vec4
|
/external/deqp/modules/gles3/scripts/ |
D | genutil.py | 305 def __add__(self, val): member in Scalar 350 def __add__(self, val): member in Uint 351 return Scalar.__add__(self, val).toUint() 462 def __add__(self, val): member in Vec2 579 def __add__(self, val): member in Vec3 693 def __add__(self, val): member in Vec4
|
/external/python/cpython2/Lib/ |
D | numbers.py | 73 def __add__(self, other): member in Complex
|
D | UserList.py | 48 def __add__(self, other): member in UserList
|
D | UserString.py | 43 def __add__(self, other): member in UserString
|
D | fractions.py | 393 __add__, __radd__ = _operator_fallbacks(_add, operator.add) variable in Fraction
|
/external/deqp/modules/gles2/scripts/ |
D | genutil.py | 273 def __add__(self, val): member in Scalar 388 def __add__(self, val): member in Vec2 480 def __add__(self, val): member in Vec3 567 def __add__(self, val): member in Vec4
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 80 ForkingPickler.register(type(int.__add__), _reduce_method_descriptor)
|