Home
last modified time | relevance | path

Searched refs:a_list (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_test_util.py50 a_list = self._GetPyList(a)
52 self.assertEqual(a_list, b_list)
60 a_list = self._GetPyList(a)
62 self.assertNestedListAlmostEqual(a_list, b_list, places, context='value')
/external/googletest/googletest/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/python/cpython3/Lib/
Dtraceback.py367 def from_list(klass, a_list): argument
377 for frame in a_list:
/external/python/cpython3/Doc/faq/
Dprogramming.rst489 operators. For example, ``+=`` mutates lists but not tuples or ints (``a_list
490 += [1, 2, 3]`` is equivalent to ``a_list.extend([1, 2, 3])`` and mutates
491 ``a_list``, whereas ``some_tuple += (1, 2, 3)`` and ``some_int += 1`` create
1327 >>> a_list = []
1328 >>> a_list += [1]
1329 >>> a_list
1334 >>> result = a_list.__iadd__([1])
1335 >>> a_list = result
1337 The object pointed to by a_list has been mutated, and the pointer to the
1338 mutated object is assigned back to ``a_list``. The end result of the
[all …]
/external/python/cpython2/Doc/faq/
Dprogramming.rst644 operators. For example, ``+=`` mutates lists but not tuples or ints (``a_list
645 += [1, 2, 3]`` is equivalent to ``a_list.extend([1, 2, 3])`` and mutates
646 ``a_list``, whereas ``some_tuple += (1, 2, 3)`` and ``some_int += 1`` create
1398 >>> a_list = []
1399 >>> a_list += [1]
1400 >>> a_list
1405 >>> result = a_list.__iadd__([1])
1406 >>> a_list = result
1408 The object pointed to by a_list has been mutated, and the pointer to the
1409 mutated object is assigned back to ``a_list``. The end result of the
[all …]
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py381 a_list = [1, 3, 6]
382 field_list = messages.FieldList(self.integer_field, a_list)
383 self.assertFalse(a_list is field_list)
/external/python/cpython3/Doc/library/
Dtraceback.rst300 .. classmethod:: from_list(a_list)