Home
last modified time | relevance | path

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

12

/third_party/python/Lib/test/
Dtest_augassign.py78 def __iadd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test2
83 def __iadd__(self, val): member in AugAssignTest.testCustomMethods1.aug_test3
88 __iadd__ = None variable in AugAssignTest.testCustomMethods1.aug_test4
126 def __iadd__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dlist_tests.py499 self.assertRaises(TypeError, u.__iadd__, None)
Dtest_operator.py466 def __iadd__ (self, other): return "iadd" member in OperatorTestCase.test_inplace.C
Dtest_array.py605 self.assertRaises(TypeError, a.__iadd__, "bad")
Dtest_unicode.py2374 def __iadd__(self, o): member in UnicodeTest.test_subclass_add.S
Dtest_collections.py2248 (Counter.__iadd__, Counter.__add__),
/third_party/python/Lib/importlib/metadata/
D__init__.py274 def __iadd__(self, *args, **kwargs): member in DeprecatedList
276 return super().__iadd__(*args, **kwargs)
/third_party/python/Lib/
Doperator.py447 __iadd__ = iadd variable
D_collections_abc.py1157 def __iadd__(self, values): member in MutableSequence
/third_party/mindspore/mindspore/nn/layer/
Dcontainer.py340 def __iadd__(self, cells): member in CellList
/third_party/python/Lib/email/
D_parseaddr.py529 def __iadd__(self, other): member in AddressList
/third_party/python/Lib/collections/
D__init__.py891 def __iadd__(self, other): member in Counter
1241 def __iadd__(self, other): member in UserList
/third_party/python/Lib/unittest/test/testmock/
Dtestmagicmethods.py120 mock.__iadd__ = add
/third_party/boost/libs/python/doc/reference/
Doperators.qbk66 [[`self += r`][`__iadd__`][`x += y`]]
/third_party/python/Doc/library/
Dcollections.abc.rst140 … ``__delitem__``, ``remove``, and ``__iadd__``
Doperator.rst478 __iadd__(a, b)
/third_party/python/Doc/faq/
Dprogramming.rst1336 ``__iadd__`` magic method, it gets called when the ``+=`` augmented assignment
1338 and (b) for lists, ``__iadd__`` is equivalent to calling ``extend`` on the list
1349 >>> result = a_list.__iadd__([1])
1359 >>> result = a_tuple[0].__iadd__(['item'])
1365 The ``__iadd__`` succeeds, and thus the list is extended, but even though
Dgeneral.rst414 '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__',
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py338 __add__ = __delattr__ = __delitem__ = __iadd__ = __imul__ = unsupported
/third_party/mindspore/mindspore/common/
Dtensor.py191 def __iadd__(self, other): member in Tensor
/third_party/python/Lib/multiprocessing/
Dmanagers.py1152 def __iadd__(self, value): member in ListProxy
/third_party/python/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,
/third_party/python/Doc/reference/
Ddatamodel.rst2379 :meth:`~object.__add__`, :meth:`~object.__radd__`, :meth:`~object.__iadd__`,
2613 .. method:: object.__iadd__(self, other)
2633 is an instance of a class with an :meth:`__iadd__` method, ``x += y`` is
2634 equivalent to ``x = x.__iadd__(y)`` . Otherwise, ``x.__add__(y)`` and
/third_party/python/Doc/c-api/
Dtypeobj.rst209 …`~PyNumberMethods.nb_inplace_add` | :c:type:`binaryfunc` | __iadd__ |
314 …`~PySequenceMethods.sq_inplace_concat` | :c:type:`binaryfunc` | __iadd__ |
/third_party/boost/libs/python/doc/
Dtutorial.qbk607 .def(self += int()) // __iadd__

12