On 11/22/2017 09:15 AM, Paul Moore wrote: > 1. List comprehensions expand into nested for/if statements in the > "obvious" way - with an empty list created to start and append used to > add items to it. > 1a. Variables introduced in the comprehension don't "leak" (see below). > 2. Generator expressions expand into generators with the same "nested > loop" behaviour, and a yield of the generated value. > 3. List comprehensions are the same as list(the equivalent generator > expression). For what it's worth, that is how I understand it. -- ~Ethan~
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4