this code produces indentation error: unexpected indent, which seems unintutive. is this expected behavior, if not a warning may be issued in future versions.
suggestion: the empty line ending with slash newline may be discarded for the purpose of calculating indentations.
The \ means a line continuation so that the indentation ahead of the \ is prepended to the def main line causing the indentation error. As @onePythonUser pointed out you are missing the parentheses after main - it should be def main():