Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46308
| 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 | <rosuav@gmail.com> |
| 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 | <ko2let$73u$1@ger.gmane.org> |
| References | <V54pt.161708$Zp1.55817@en-nntp-15.dc1.easynews.com> <ko2let$73u$1@ger.gmane.org> |
| Date | Wed, 29 May 2013 02:31:47 +1000 |
| Subject | Re: IndentationError: expected an indented block but it's there |
| From | Chris Angelico <rosuav@gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2304.1369758710.3114.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
IndentationError: expected an indented block but it's there JackM <notreal@earthlink.net> - 2013-05-28 11:32 -0400 Re: IndentationError: expected an indented block but it's there Michael Torrie <torriem@gmail.com> - 2013-05-28 09:55 -0600 Re: IndentationError: expected an indented block but it's there Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-28 16:01 +0000 Re: IndentationError: expected an indented block but it's there Peter Otten <__peter__@web.de> - 2013-05-28 18:19 +0200 Re: IndentationError: expected an indented block but it's there Chris Angelico <rosuav@gmail.com> - 2013-05-29 02:31 +1000 Re: IndentationError: expected an indented block but it's there Peter Otten <__peter__@web.de> - 2013-05-28 18:53 +0200 Re: IndentationError: expected an indented block but it's there Chris Angelico <rosuav@gmail.com> - 2013-05-29 17:59 +1000
csiph-web