Searched refs:__add__ (Results 1 - 25 of 31) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
H A Dminicompat.py78 def __add__(self, other): member in class:EmptyNodeList
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
H A DVec.py46 def __add__(self, other): member in class:Vec
H A DDates.py152 def __add__(self, n): member in class:Date
156 __radd__ = __add__ # handle int+date
188 raise DateTestError, '__add__ failure'
H A DComplex.py178 def __add__(self, other): member in class:Complex
182 __radd__ = __add__
H A Dbitvec.py259 def __add__(self, other): member in class:BitVec
260 #rprt('%r.__add__(%r)\n' % (self, other))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
H A Dminicompat.py78 def __add__(self, other): member in class:EmptyNodeList
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dfind_recursionlimit.py50 def __add__(self, x): member in class:RecursiveBlowup4
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_augassign.py86 def __add__(self, val): member in class:AugAssignTest.testCustomMethods1.aug_test
126 def __add__(self, val): member in class:AugAssignTest.testCustomMethods2.testall
127 output.append("__add__ called")
288 __add__ called
H A Dtest_descr.py77 def binop_test(self, a, b, res, expr="a+b", meth="__add__"):
172 self.binop_test([1], [2], [1,2], "a+b", "__add__")
245 def __add__(self, other): member in class:OperatorsTest.test_ints.C
314 "__add__")
2477 def __add__(self, other): member in class:.test_basic_inheritance.hexint
2478 return hexint(int.__add__(self, other))
2501 def __add__(self, other): member in class:.test_basic_inheritance.octlong
2502 return self.__class__(super(octlong, self).__add__(other))
2503 __radd__ = __add__
2530 # Because octlong overrides __add__, w
3407 def __add__(self, other): member in class:.test_binary_operator_override.I
[all...]
H A Dtest_binop.py86 def __add__(self, other): member in class:Rat
97 __radd__ = __add__
H A Dtest_coercion.py39 def __add__(self,other): member in class:MethodNumber
H A Dtest_complex.py386 def __add__(self,other): member in class:ComplexTest.test_subclass.xcomplex
388 __radd__ = __add__
H A Dtest_operator.py13 def __add__(self, other): member in class:Seq1
27 def __add__(self, other): member in class:Seq2
H A Dtest_array.py298 self.assertRaises(TypeError, a.__add__, b)
300 self.assertRaises(TypeError, a.__add__, "bad")
319 self.assertRaises(TypeError, a.__add__, b)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dnumbers.py73 def __add__(self, other): member in class:Complex
H A Dcollections.py621 def __add__(self, other): member in class:Counter
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dnumbers.py73 def __add__(self, other): member in class:Complex
H A DUserList.py48 def __add__(self, other): member in class:UserList
H A DUserString.py43 def __add__(self, other): member in class:UserString
H A Dcollections.py558 def __add__(self, other): member in class:Counter
H A Dfractions.py291 Fraction, that means that we define __add__ and __radd__ as:
293 def __add__(self, other):
333 were to return a value from __add__, we'd miss the
336 __add__. In particular, we don't handle Rational
340 Fraction.__add__. This is ok, because it was
393 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
H A Ddecimal.py1126 def __add__(self, other, context=None): member in class:Decimal
1212 __radd__ = __add__
1226 return self.__add__(other.copy_negate(), context=context)
1845 return product.__add__(third, context)
3409 return self.__add__(_dec_from_triple(0, '1', context.Etiny()-1),
3965 r = a.__add__(b, context=self)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
H A D_parseaddr.py464 def __add__(self, other): member in class:AddressList
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
H A Dpygettext.py474 if reduce(operator.__add__, v.values()):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Doperator.c388 spam2(add,__add__, "add(a, b) -- Same as a + b.")

Completed in 2562 milliseconds

12