Searched refs:a_tuple (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Doc/faq/ |
D | programming.rst | 1269 Why does a_tuple[i] += ['item'] raise an exception when the addition works? 1282 >>> a_tuple = (1, 2) 1283 >>> a_tuple[0] += 1 1289 object ``a_tuple[0]`` points to (``1``), producing the result object, ``2``, 1297 >>> result = a_tuple[0] + 1 1298 >>> a_tuple[0] = result 1308 >>> a_tuple = (['foo'], 'bar') 1309 >>> a_tuple[0] += ['item'] 1317 >>> a_tuple[0] 1344 >>> result = a_tuple[0].__iadd__(['item']) [all …]
|
/external/python/cpython2/Doc/faq/ |
D | programming.rst | 1340 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/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment_test.cc | 1452 auto a_tuple = in TEST_F() local 1455 HloInstruction::CreateCall(tuple_shape, {a_tuple}, b_computation.get())); in TEST_F()
|
/external/python/cpython2/Doc/library/ |
D | compiler.rst | 521 list and tuple expansion respectively, e.g. ``a, b, c = a_tuple``.
|