Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85461

Re: TypeError: list indices must be integers, not tuple

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 <rosuav@gmail.com>
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 <dcae1673-8fe1-4734-90ce-682b8d4e6063@googlegroups.com> <CAM8kh5sJ4Hiu08pn5xcLP1SQm2rpy+dvtUZWU9LGaYQfh4RdFQ@mail.gmail.com> <mbcqe1$7ik$1@ger.gmane.org> <54DA1573.1030804@davea.name> <CAPTjJmrvdUwGycjwF0ZQGtE04Vsk2pF81xHqJhTDy9VGcqiFHw@mail.gmail.com> <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 <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18619.1423594120.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Feb 11, 2015 at 2:51 AM, Dave Angel <davea@davea.name> 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 <rubout><rubout> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

TypeError: list indices must be integers, not tuple james8booker@hotmail.com - 2015-02-09 15:52 -0800
  Re: TypeError: list indices must be integers, not tuple Ethan Furman <ethan@stoneleaf.us> - 2015-02-09 16:02 -0800
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-09 22:05 -0500
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-09 23:48 -0500
  Re: TypeError: list indices must be integers, not tuple Terry Reedy <tjreedy@udel.edu> - 2015-02-10 00:57 -0500
  Re: TypeError: list indices must be integers, not tuple Ryan Stuart <ryan.stuart.85@gmail.com> - 2015-02-10 00:05 +0000
  Re: TypeError: list indices must be integers, not tuple Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-10 11:35 +0000
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 09:28 -0500
  Re: TypeError: list indices must be integers, not tuple Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-10 14:32 +0000
  Re: TypeError: list indices must be integers, not tuple Chris Angelico <rosuav@gmail.com> - 2015-02-11 01:33 +1100
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 10:51 -0500
  Re: TypeError: list indices must be integers, not tuple Chris Angelico <rosuav@gmail.com> - 2015-02-11 05:48 +1100
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 15:38 -0500

csiph-web