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


Groups > comp.lang.python > #77894

Re: Lists

References <12kc1a5j82lak7tmnatvhk84fh2ne08s24@4ax.com> <lv5vgi$ehv$1@dont-email.me> <lv64uf$c4k$1@ger.gmane.org>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2014-09-15 09:53 -0600
Subject Re: Lists
Newsgroups comp.lang.python
Message-ID <mailman.14030.1410796468.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

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