IndentationError: expected an indented block but it's there

Chris Angelico rosuav at gmail.com
Tue May 28 12:31:47 EDT 2013


On Wed, May 29, 2013 at 2:19 AM, Peter Otten <__peter__ at web.de> wrote:
> Solution: configure your editor to use four spaces for indentation.

ITYM eight spaces. But the real solution is to not mix tabs and
spaces. Stick to one or the other and you're safe.

ChrisA



More information about the Python-list mailing list