Super weird, no? Violation Code:
def main(): """ main function """
The third quote is where I get the usual indent error:
>>>Import someScript Traceback (most recent call last): File "<stdin>", line 1, in <module> File "someScript.py", line 24 """ ^
If I delete the comments (obviously, I donβt want to), then the next function to be defined gets the same error in the same place of its comments. If I remove all comments from functions, the error will disappear.
I do not understand! Why expect indentation? I write in Komodo Edit in part because it does not allow you to mix spaces and tabs, but in order to be sure that I have done a search, and of course there are no friggin tabs. Not that it would make sense anyway if they were.
What gives, guru?
source share