Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.135 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.06; 'configure': 0.05; 'spaces': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tabs': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'stick': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'mix': 0.30; 'message-id:@mail.gmail.com': 0.30; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; "you're": 0.61; 'real': 0.63; 'subject:there': 0.68; 'eight': 0.74; 'otten': 0.84; 'safe.': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fxmfHsUR6uahirUsF+RBgEJeWuIBMsSo3JTOTZX1U6g=; b=XySYvDvwfwELKxKBBcvQWn4AFB0/T2yUw0icN+Gc8y1iTLCXXApaW3LIhSMKGJsVeA CXzhvx/vEtZ/gQDaIg1TJRlJ57wQ+8J4JG/tXYrpmKha6hiRJfBP6TTk3NwL5nU28Xdx LToK8fvFkKFmZCqjSv29H896m/VXc4YO1nOFI5/jFrvTIlK2hCC7ObnmKn/ALKs9jSpV fj6NREb6fAu8b5QraRneVbczVBTpOBFF5PH0AJmApejA6z1gSniVdKXEhLcE9f+9VBh1 ce+P6u4R2R0hbfaZMg2L+c5rsFAOjWzDD724h3BaoQcXZWZtXJOKu2RljtlxbYDiDLgg eiuA== MIME-Version: 1.0 X-Received: by 10.52.121.99 with SMTP id lj3mr6502026vdb.52.1369758707172; Tue, 28 May 2013 09:31:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 May 2013 02:31:47 +1000 Subject: Re: IndentationError: expected an indented block but it's there From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369758710 news.xs4all.nl 15987 [2001:888:2000:d::a6]:59584 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46308 On Wed, May 29, 2013 at 2:19 AM, Peter Otten <__peter__@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