IndentationError: expected an indented block but it's there
Peter Otten
__peter__ at web.de
Tue May 28 12:53:17 EDT 2013
Chris Angelico wrote:
> 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.
I meant: one hit of the Tab key should add spaces up to the next multiple of
four. Which implies
> But the real solution is to not mix tabs and
> spaces. Stick to one or the other and you're safe.
More information about the Python-list
mailing list