Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Empty block in middle of %if...%elif...%elif...%else...%endif doesn't get a pass in the Python, leading to an IndentationError #146
Migrated issue, originally created by Anonymous
An IndentationError pointing at the next line of code after the do-nothing block, complaining that Python was expecting an indented block.
Michael Bayer (@zzzeek) wrote:
the patch is in 1b4d1fb but doesn't actually fix the above test case, it appears that the comment line screws it up:
taking out the comment, it's fine: