Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: