/external/python/cpython2/Parser/ |
D | Python.asdl | 60 | ListComp(expr elt, comprehension* generators) 61 | SetComp(expr elt, comprehension* generators) 62 | DictComp(expr key, expr value, comprehension* generators) 63 | GeneratorExp(expr elt, comprehension* generators) 101 comprehension = (expr target, expr iter, expr* ifs)
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | _ast_util.py | 782 for comprehension in node.generators: 783 self.visit(comprehension) 797 for comprehension in node.generators: 798 self.visit(comprehension)
|
/external/python/cpython2/Doc/reference/ |
D | expressions.rst | 197 providing either a list of expressions or a list comprehension. When a 200 comprehension is supplied, it consists of a single expression followed by at 219 :dfn:`comprehension`. 224 comprehension: `expression` `comp_for` 229 The comprehension consists of a single expression followed by at least one 236 Note that the comprehension is executed in a separate scope, so names assigned 295 A dict comprehension, in contrast to list and set comprehensions, needs two 297 When the comprehension is run, the resulting key and value elements are inserted 322 set_display: "{" (`expression_list` | `comprehension`) "}" 325 either a sequence of expressions or a comprehension. When a comma-separated [all …]
|
/external/python/cpython2/Doc/tutorial/ |
D | datastructures.rst | 268 A list comprehension consists of brackets containing an expression followed 333 The initial expression in a list comprehension can be any arbitrary expression, 334 including another list comprehension. 345 The following list comprehension will transpose rows and columns::
|
/external/python/cpython2/Doc/howto/ |
D | functional.rst | 342 # List comprehension -- returns list 350 With a list comprehension, you get back a Python list; ``stripped_list`` is a 370 Again, for a list comprehension only the outside brackets are different (square 389 To put it another way, a list comprehension or generator expression is 423 comprehension below is a syntax error, while the second one is correct:: 639 As shown above, you can achieve the same effect with a list comprehension. The 655 This can also be written as a list comprehension:
|
/external/python/cpython2/Lib/test/ |
D | test_ast.py | 245 self.assertTrue(issubclass(ast.comprehension, ast.AST))
|
/external/parameter-framework/upstream/tools/xmlGenerator/ |
D | README.md | 22 - Intuitive syntax and comprehension when you know the PFW concepts
|
/external/python/cpython2/Python/ |
D | symtable.c | 1225 VISIT_SEQ(st, comprehension, e->v.ListComp.generators); in symtable_visit_expr() 1525 VISIT_SEQ_TAIL_IN_BLOCK(st, comprehension, in symtable_handle_comprehension()
|
D | ast.c | 1112 lc = comprehension(first, expression, NULL, c->c_arena); in ast_for_listcomp() 1114 lc = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_listcomp() 1253 comp = comprehension(first, expression, NULL, c->c_arena); in ast_for_comprehension() 1255 comp = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_comprehension()
|
D | Python-ast.c | 2039 comprehension(expr_ty target, expr_ty iter, asdl_seq * ifs, PyArena *arena) in comprehension() function 6469 *out = comprehension(target, iter, ifs, arena); in obj2ast_comprehension()
|
/external/autotest/utils/ |
D | pylintrc | 190 # Regular expression which should only match correct list comprehension /
|
/external/antlr/antlr-3.4/runtime/Python/ |
D | pylintrc | 189 # Regular expression which should only match correct list comprehension /
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 519 #define comprehension(a0, a1, a2, a3) _Py_comprehension(a0, a1, a2, a3) macro
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 733 "comprehension"
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.0.rst | 307 To make the semantics very clear, a list comprehension is equivalent to the 332 comprehension below is a syntax error, while the second one is correct:: 341 for adding them to Python and wrote the initial list comprehension patch, which
|
D | 2.4.rst | 873 >>> [10+i for i in sorted(L)] # usable in a list comprehension
|
/external/python/cpython2/Doc/faq/ |
D | programming.rst | 1315 use a list comprehension:: 1327 Use a list comprehension:: 1491 list comprehension. However, it is almost twice as slow for long lists. Why?
|
/external/python/cpython2/Doc/ |
D | glossary.rst | 479 list comprehension
|
/external/antlr/antlr-3.4/runtime/C/ |
D | README | 1184 -> comprehension(expr={$expr.st},type={},list={},i={})
|
/external/antlr/antlr-3.4/tool/ |
D | CHANGES.txt | 2754 -> comprehension(expr={$expr.st},type={},list={},i={})
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|
/external/python/cpython2/Misc/ |
D | HISTORY | 3970 compiling a list comprehension that contained another list comprehension
|
D | NEWS | 8770 - Issue #4677: Add two list comprehension tests to pybench.
|