Peter Otten __peter__ at
Mon Sep 15 18:16:23 CEST 2014

Ian Kelly wrote:

> On Mon, Sep 15, 2014 at 1:36 AM, Peter Otten <__peter__ at> 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 ;)

More information about the Python-list mailing list