Dave LeBlanc <whisper at oz.net> wrote in comp.lang.python: > How would this terminate the parsing of a Python program (as opposed > to execution)? You're right, it doesn't stop that. """ What do you need it for? You could put the rest of the file between triple quotes so that it's just a string to the parser. Or you could put the rest after if __debug__: And use python -O to ignore this part (at least, I think it's supposed to ignore even syntax errors). Otherwise, no way. -- Remco Gerlich """
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