Guido van Rossum wrote: > [...] > Thanks for trying to bang some sense into this. > > Personally, I still like the idea best to make > > (x for x in S) > > be an iterator comprehension > > and > > [x for x in S] > > syntactic sugar for the common operation > > list((x for x in S)) Would this mean: [x for x in S] is a list comprehension and [(x for x in S)] is a list containing one generator expression? Bye, Walter Dörwald
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