Tim Peters wrote: > My belief is that generators don't become *truly* pleasant > unless "yield" ("suspend"; whatever) is made a new statement > type. That's fine but how do you create a generator? I suspose that using a "yield" statement within a function could make it into a generator. Then, calling it would create an instance of a generator. Seems a bit too magical to me. Neil
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