On 11/22/2014 03:01 PM, Terry Reedy wrote: > >> Then both a comprehension and a generator expressions can be viewed as >> defining iterators, > > A comprehension is not an iterator. The above would make a list or set > comprehension the same as feeding a genexp to list() or set(). Correct, but we could think and reason about them in the same way. Cheers, Ron
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