Searched refs:a_list (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/ |
D | traceback.py | 387 def from_list(klass, a_list): argument 397 for frame in a_list:
|
/third_party/python/Doc/faq/ |
D | programming.rst | 482 operators. For example, ``+=`` mutates lists but not tuples or ints (``a_list 483 += [1, 2, 3]`` is equivalent to ``a_list.extend([1, 2, 3])`` and mutates 484 ``a_list``, whereas ``some_tuple += (1, 2, 3)`` and ``some_int += 1`` create 1342 >>> a_list = [] 1343 >>> a_list += [1] 1344 >>> a_list 1349 >>> result = a_list.__iadd__([1]) 1350 >>> a_list = result 1352 The object pointed to by a_list has been mutated, and the pointer to the 1353 mutated object is assigned back to ``a_list``. The end result of the [all …]
|
/third_party/python/Doc/library/ |
D | traceback.rst | 329 .. classmethod:: from_list(a_list)
|