Home
last modified time | relevance | path

Searched refs:a_tuple (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Doc/faq/
Dprogramming.rst1259 Why does a_tuple[i] += ['item'] raise an exception when the addition works?
1272 >>> a_tuple = (1, 2)
1273 >>> a_tuple[0] += 1
1279 object ``a_tuple[0]`` points to (``1``), producing the result object, ``2``,
1287 >>> result = a_tuple[0] + 1
1288 >>> a_tuple[0] = result
1298 >>> a_tuple = (['foo'], 'bar')
1299 >>> a_tuple[0] += ['item']
1307 >>> a_tuple[0]
1334 >>> result = a_tuple[0].__iadd__(['item'])
[all …]
/external/python/cpython2/Doc/faq/
Dprogramming.rst1340 Why does a_tuple[i] += ['item'] raise an exception when the addition works?
1353 >>> a_tuple = (1, 2)
1354 >>> a_tuple[0] += 1
1360 object ``a_tuple[0]`` points to (``1``), producing the result object, ``2``,
1368 >>> result = a_tuple[0] + 1
1369 >>> a_tuple[0] = result
1379 >>> a_tuple = (['foo'], 'bar')
1380 >>> a_tuple[0] += ['item']
1388 >>> a_tuple[0]
1415 >>> result = a_tuple[0].__iadd__(['item'])
[all …]
/external/python/cpython2/Doc/library/
Dcompiler.rst521 list and tuple expansion respectively, e.g. ``a, b, c = a_tuple``.
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment_test.cc1624 auto a_tuple = in TEST_F() local
1627 HloInstruction::CreateCall(tuple_shape, {a_tuple}, b_computation.get())); in TEST_F()