Home
last modified time | relevance | path

Searched refs:__iadd__ (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_augassign.py90 def __iadd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test2
95 def __iadd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test3
130 def __iadd__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_operator.py476 def __iadd__ (self, other): return "iadd" member in OperatorTestCase.test_inplace.C
506 self.assertEqual(operator.__iadd__ (c, 5), "iadd")
Dlist_tests.py475 self.assertRaises(TypeError, u.__iadd__, None)
Dtest_array.py345 self.assertRaises(TypeError, a.__iadd__, "bad")
/external/python/cpython2/Lib/
DUserList.py62 def __iadd__(self, other): member in UserList
DUserString.py206 def __iadd__(self, other): member in MutableString
D_abcoll.py691 def __iadd__(self, values): member in MutableSequence
Drfc822.py799 def __iadd__(self, other): member in AddressList
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialutil.py30 def __iadd__(self, other): member in bytearray
/external/python/cpython2/Lib/email/
D_parseaddr.py473 def __iadd__(self, other): member in AddressList
/external/python/cpython2/Modules/
Doperator.c406 spam2(iadd,__iadd__, "a = iadd(a, b) -- Same as a += b.")
/external/python/cpython2/Doc/faq/
Dprogramming.rst1392 ``__iadd__`` magic method, it gets called when the ``+=`` augmented assignment
1394 and (b) for lists, ``__iadd__`` is equivalent to calling ``extend`` on the list
1405 >>> result = a_list.__iadd__([1])
1415 >>> result = a_tuple[0].__iadd__(['item'])
1421 The ``__iadd__`` succeeds, and thus the list is extended, but even though
Dgeneral.rst422 '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__',
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py1053 def __iadd__(self, value): member in ListProxy
/external/python/cpython2/Doc/library/
Drfc822.rst322 .. method:: AddressList.__iadd__(alist)
Doperator.rst319 __iadd__(a, b)
Dcollections.rst909 … ``__delitem__``, ``remove``, and ``__iadd__``
/external/python/cpython2/Doc/reference/
Ddatamodel.rst1867 :meth:`__add__`, :meth:`__radd__`, :meth:`__iadd__`, :meth:`__mul__`,
2163 .. method:: object.__iadd__(self, other)
2184 :meth:`__iadd__` method, ``x.__iadd__(y)`` is called. If *x* is an instance
2185 of a class that does not define a :meth:`__iadd__` method, ``x.__add__(y)``
2286 the binary operator, and :meth:`__iadd__` for the in-place variant.
/external/python/cpython2/Doc/whatsnew/
D2.0.rst359 named :meth:`__iadd__`, :meth:`__isub__`, etc. For example, the following
370 def __iadd__(self, increment):
377 The :meth:`__iadd__` special method is called with the value of the increment,
/external/python/cpython2/Misc/
Dcheatsheet1192 s+=o = __iadd__(s,o) s-=o = __isub__(s,o)
DHISTORY5360 .fromunicode methods are available. Arrays now support __iadd__
6886 '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__le__',
8894 an 'i' in front of the name, e.g. __iadd__ implements in-place