On Jan 25, 2:28 pm, Alan G Isaac <alan.is...@gmail.com> wrote: > On 1/16/2009 3:13 PM Alan G Isaac apparently wrote: > > It is documented: > >http://docs.python.org/3.0/library/stdtypes.html#sequence-types-str-b... > > But then again, the opposite is also documented, > since `range` is a sequence type. Quoting: > > Sequences also support slicing ... > > Some sequences also support “extended slicing” > > Is this a documentation bug, or a bug in `range`? > (I'd think the latter.) > > Cheers, > Alan Isaac
Where does the documentation say that range objects are sequences? They're iterables. Michael Foord -- http://www.ironpythoninaction.com/ -- http://mail.python.org/mailman/listinfo/python-list