Lines Matching refs:comprehension
646 a `for`-loop, list comprehension, or any other operation than requires
808 `for`-loop, a list comprehension, or various built-in functions.
871 comprehension](#comprehension), which evaluates a pair of expressions,
882 operand of a `for`-loop, a list comprehension, or various built-in
936 `for`-loop, a list comprehension, or various built-in functions.
1215 in a `for`-loop (`f`) or comprehension (`g`, `i`).
1263 function, and a _comprehension_ block for each top-level comprehension.
1753 expression as the operand of a list comprehension:
2217 A comprehension constructs new list or dictionary value by looping
2221 A list comprehension consists of a single expression followed by one
2252 A dict comprehension resembles a list comprehension, but its body is a
2279 _ = [x for x in [2]] # new variable x is local to the comprehension
2283 The operand of a comprehension's first clause (always a `for`) is
2284 resolved in the lexical block enclosing the comprehension.
2295 comprehension's lexical block, as in this rather obscure example: