Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:not': 0.03; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.11; 'ah,': 0.16; 'downside': 0.16; 'fluent': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tuple': 0.16; 'typo': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'comment': 0.34; 'received:209.85': 0.35; 'anywhere': 0.35; 'received:google.com': 0.35; 'false': 0.36; "didn't": 0.36; 'received:209': 0.37; 'being': 0.38; 'sometimes': 0.38; 'course.': 0.60; 'dave': 0.60; 'took': 0.61; "you're": 0.61; 'show': 0.63; 'said:': 0.68; '2015': 0.84; 'angel': 0.91; 'to:none': 0.92 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:cc :content-type; bh=4OQmNSquEgVtjQ0GkO5O20kmMMJSXMRAn+iHDARm08g=; b=isjS3dL/20ITGw+9gcCL0Mw824JGTkz3Xgs5E7ZSsU5M9bEE+YpauCB1e3HAh0WWP0 30NC0slXS1H4Wr9fkbb+cV/ZcEB4G/xaZGgh4JGKS+3eiZJSy39csYfORdoCIZo/1rsV qwH1991W97b4ONptgDwyJa5Pf0R4ulEMuZ3aouvVCtd2f4hHPggbhf7/3DmhXKJi6Cq9 JcvwO8rcYSDikM7TfQBmkotcD93EMpMHvkhgG5s/kEn9mE1rVEUiplwJQ8z3Kseantq+ 9cbDtR37mRAaNtlgnyxyh4KJHjuVdytb5LwcpTvzFzX6CkyK5geeYhASszdz/i6qlhdT VGmw== MIME-Version: 1.0 X-Received: by 10.50.4.40 with SMTP id h8mr19816353igh.34.1423594117414; Tue, 10 Feb 2015 10:48:37 -0800 (PST) In-Reply-To: <54DA28FF.5010001@davea.name> References: <54DA1573.1030804@davea.name> <54DA28FF.5010001@davea.name> Date: Wed, 11 Feb 2015 05:48:37 +1100 Subject: Re: TypeError: list indices must be integers, not tuple From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423594120 news.xs4all.nl 2853 [2001:888:2000:d::a6]:46650 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85461 On Wed, Feb 11, 2015 at 2:51 AM, Dave Angel wrote: > You're right of course. I didn't notice the meaning of one-tuple; I took > Mark's comment as if he had said: > > If you can show me a one tuple anywhere ... Ah, yeah. I see the ambiguity. This is the downside of being so fluent in Typo - sometimes you run into false cognates :) ChrisA