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


Groups > comp.lang.python > #77895

Re: Lists

From Peter Otten <__peter__@web.de>
Subject Re: Lists
Date 2014-09-15 18:16 +0200
Organization None
References <12kc1a5j82lak7tmnatvhk84fh2ne08s24@4ax.com> <lv5vgi$ehv$1@dont-email.me> <lv64uf$c4k$1@ger.gmane.org> <CALwzid=DF3UGzp1u6tWPCX4KaVE03KHQ2UTXm=652xbwJVB+1Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14031.1410797799.18130.python-list@python.org> (permalink)

Show all headers | View raw


Ian Kelly wrote:

> On Mon, Sep 15, 2014 at 1:36 AM, Peter Otten <__peter__@web.de> wrote:
>> I'd call range() an iterable.
> 
> I'd even go so far as to call it a sequence.
> 
>>>> from collections import Sequence
>>>> issubclass(range, Sequence)
> True

If you want to be as specific as possible call it a range ;)

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


Thread

Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-14 22:40 -0400
  Re: Lists Christian Gollwitzer <auriocus@gmx.de> - 2014-09-15 08:04 +0200
    Re: Lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-15 17:09 +1000
    Re: Lists Peter Otten <__peter__@web.de> - 2014-09-15 09:36 +0200
    Re: Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-09-15 09:53 -0600
    Re: Lists Peter Otten <__peter__@web.de> - 2014-09-15 18:16 +0200
  Re: Lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-15 16:59 +1000
    Re: Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-15 11:27 -0400
  Re:Lists Dave Angel <davea@davea.name> - 2014-09-15 09:05 -0400
    Re: Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-15 11:28 -0400

csiph-web