Hacker News new | ask | show | jobs
by dagw 4057 days ago
once you have chosen one pattern, you have to keep this one till the end of the file or it'll throw an indentation error.

Only if the resulting indentation is an actual error. It's quite possible that the parser's interpretation of resulting indentation is a valid program with different semantics than you intended.