mal wrote: > How about a third variant: > > #3: > __iter = <object>.iterator() > while __iter: > <variable> = __iter.next() > <block> how does that one terminate? maybe you meant something like: __iter = <object>.iterator() while __iter: <variable> = __iter.next() if <variable> is <sentinel>: break <block> (where <sentinel> could be __iter itself...) </F>
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