> Then you couldn't do this: > > done = False > for line in f: > if not check(line): > break > process(line) > else: > done = True > > if not done: > for line in file: > another_process(line) That's already broken, see SF bug 524804. --Guido van Rossum (home page: http://www.python.org/~guido/)
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