Searched refs:comprehensions (Results 1 – 25 of 42) sorted by relevance
12
/external/python/cpython3/Python/ |
D | ast_unparse.c | 373 append_ast_comprehensions(_PyUnicodeWriter *writer, asdl_seq *comprehensions) in append_ast_comprehensions() argument 376 gen_count = asdl_seq_LEN(comprehensions); in append_ast_comprehensions() 379 APPEND(comprehension, (comprehension_ty)asdl_seq_GET(comprehensions, i)); in append_ast_comprehensions() 390 APPEND(comprehensions, e->v.GeneratorExp.generators); in append_ast_genexp() 399 APPEND(comprehensions, e->v.ListComp.generators); in append_ast_listcomp() 408 APPEND(comprehensions, e->v.SetComp.generators); in append_ast_setcomp() 419 APPEND(comprehensions, e->v.DictComp.generators); in append_ast_dictcomp()
|
/external/python/cpython3/Doc/tutorial/ |
D | datastructures.rst | 192 List comprehensions provide a concise way to create lists. 273 List comprehensions can contain complex expressions and nested functions:: 476 Similarly to :ref:`list comprehensions <tut-listcomps>`, set comprehensions 544 In addition, dict comprehensions can be used to create dictionaries from
|
D | classes.rst | 887 similar to list comprehensions but with parentheses instead of square brackets. 891 than equivalent list comprehensions.
|
/external/python/cpython2/Doc/tutorial/ |
D | datastructures.rst | 247 List comprehensions provide a concise way to create lists. 323 List comprehensions can contain complex expressions and nested functions:: 529 Similarly to :ref:`list comprehensions <tut-listcomps>`, set comprehensions 593 In addition, dict comprehensions can be used to create dictionaries from
|
D | classes.rst | 876 similar to list comprehensions but with parentheses instead of square brackets. 880 than equivalent list comprehensions.
|
/external/python/cpython3/Doc/reference/ |
D | expressions.rst | 175 single: for; in comprehensions 176 single: if; in comprehensions 177 single: async for; in comprehensions 179 Common syntax elements for comprehensions are: 211 single: await; in comprehensions 226 Asynchronous comprehensions were introduced. 239 pair: list; comprehensions 327 A dict comprehension, in contrast to list and set comprehensions, needs two 358 for comprehensions, except that it is enclosed in parentheses instead of 429 implement comprehensions and generator expressions (in Python 3.7, such [all …]
|
D | executionmodel.rst | 153 comprehensions and generator expressions since they are implemented using a
|
/external/yapf/ |
D | CHANGELOG | 70 - Improve splitting of comprehensions and generators. Add 72 comprehensions on a single line and `SPLIT_COMPLEX_COMPREHENSION` to enable 73 splitting each clause of complex comprehensions onto its own line. 501 - Improve how list comprehensions are formatted. Make splitting dependent upon
|
D | README.rst | 522 For list comprehensions and generator expressions with multiple clauses
|
/external/python/cpython2/Doc/howto/ |
D | functional.rst | 323 Generator expressions and list comprehensions 332 List comprehensions and generator expressions (short form: "listcomps" and 353 materialize all the values at once. This means that list comprehensions aren't 358 comprehensions are surrounded by square brackets ("[]"). Generator expressions 624 obsolete; they duplicate the features of list comprehensions but return actual 645 comprehensions. A **predicate** is a function that returns the truth value of 1230 List comprehensions
|
/external/tensorflow/tensorflow/python/autograph/ |
D | LIMITATIONS.md | 37 …into the appropriate combination of `For` and `If` statements. Other comprehensions are currently …
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 158 comprehensions, generator expressions and nested functions, and the code 621 Calls ``set.add(TOS1[-i], TOS)``. Used to implement set comprehensions. 626 Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions. 632 comprehensions.
|
D | 2to3.rst | 365 Add extra parenthesis where they are required in list comprehensions. For
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.4.rst | 119 having the entire data set in memory at one time. List comprehensions don't fit 140 Generator expressions work similarly to list comprehensions but don't 155 Generator expressions differ from list comprehensions in various small ways. 157 outside of the generator expression. List comprehensions leave the variable 159 list comprehensions match generator expressions in this respect. 944 :c:func:`realloc`. List comprehensions also benefit. :meth:`list.extend` was 960 for list comprehensions and speeds them up by about a third. (Contributed by
|
D | 3.0.rst | 387 * Dictionary comprehensions: ``{k: v for k, v in stuff}`` means the 392 dictionary; use ``set()`` for an empty set. Set comprehensions are 436 * List comprehensions no longer support the syntactic form 439 Also note that list comprehensions have different semantics: they
|
D | 2.0.rst | 288 substring is being searched for. List comprehensions make this cleaner:: 292 List comprehensions have the form:: 339 The idea of list comprehensions originally comes from the functional programming
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.4.rst | 119 having the entire data set in memory at one time. List comprehensions don't fit 140 Generator expressions work similarly to list comprehensions but don't 155 Generator expressions differ from list comprehensions in various small ways. 157 outside of the generator expression. List comprehensions leave the variable 159 list comprehensions match generator expressions in this respect. 944 :c:func:`realloc`. List comprehensions also benefit. :meth:`list.extend` was 960 for list comprehensions and speeds them up by about a third. (Contributed by
|
D | 2.0.rst | 288 substring is being searched for. List comprehensions make this cleaner:: 292 List comprehensions have the form:: 339 The idea of list comprehensions originally comes from the functional programming
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a3.rst | 126 Backport set and dict comprehensions syntax from Python 3.x.
|
/external/python/cpython3/Doc/howto/ |
D | functional.rst | 325 Generator expressions and list comprehensions 334 List comprehensions and generator expressions (short form: "listcomps" and 355 materialize all the values at once. This means that list comprehensions aren't 360 comprehensions are surrounded by square brackets ("[]"). Generator expressions 640 list comprehensions. A **predicate** is a function that returns the truth
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 101 Don't use temporary variables in cases of list/dict/set comprehensions
|
D | 3.6.0b1.rst | 413 Implement PEP 530 -- asynchronous comprehensions.
|
/external/python/cpython2/Doc/reference/ |
D | expressions.rst | 177 pair: list; comprehensions 192 pair: list; comprehensions 221 Common syntax elements for comprehensions are: 254 for comprehensions, except that it is enclosed in parentheses instead of 295 A dict comprehension, in contrast to list and set comprehensions, needs two
|
/external/python/cpython2/Doc/library/ |
D | 2to3.rst | 345 Add extra parenthesis where they are required in list comprehensions. For
|
D | dis.rst | 490 Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions.
|
12