Home
last modified time | relevance | path

Searched refs:comprehension (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython2/Parser/
DPython.asdl60 | 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.py782 for comprehension in node.generators:
783 self.visit(comprehension)
797 for comprehension in node.generators:
798 self.visit(comprehension)
/external/python/cpython2/Doc/reference/
Dexpressions.rst197 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/
Ddatastructures.rst268 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/
Dfunctional.rst342 # 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/
Dtest_ast.py245 self.assertTrue(issubclass(ast.comprehension, ast.AST))
/external/parameter-framework/upstream/tools/xmlGenerator/
DREADME.md22 - Intuitive syntax and comprehension when you know the PFW concepts
/external/python/cpython2/Python/
Dsymtable.c1225 VISIT_SEQ(st, comprehension, e->v.ListComp.generators); in symtable_visit_expr()
1525 VISIT_SEQ_TAIL_IN_BLOCK(st, comprehension, in symtable_handle_comprehension()
Dast.c1112 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()
DPython-ast.c2039 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/
Dpylintrc190 # Regular expression which should only match correct list comprehension /
/external/antlr/antlr-3.4/runtime/Python/
Dpylintrc189 # Regular expression which should only match correct list comprehension /
/external/python/cpython2/Include/
DPython-ast.h519 #define comprehension(a0, a1, a2, a3) _Py_comprehension(a0, a1, a2, a3) macro
/external/python/cpython2/PC/os2emx/
Dpython27.def733 "comprehension"
/external/python/cpython2/Doc/whatsnew/
D2.0.rst307 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
D2.4.rst873 >>> [10+i for i in sorted(L)] # usable in a list comprehension
/external/python/cpython2/Doc/faq/
Dprogramming.rst1315 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/
Dglossary.rst479 list comprehension
/external/antlr/antlr-3.4/runtime/C/
DREADME1184 -> comprehension(expr={$expr.st},type={},list={},i={})
/external/antlr/antlr-3.4/tool/
DCHANGES.txt2754 -> comprehension(expr={$expr.st},type={},list={},i={})
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/python/cpython2/Misc/
DHISTORY3970 compiling a list comprehension that contained another list comprehension
DNEWS8770 - Issue #4677: Add two list comprehension tests to pybench.