Python 3: range objects cannot be sliced
Alan G Isaac
alan.isaac at gmail.com
Sun Jan 25 15:28:30 CET 2009
On 1/16/2009 3:13 PM Alan G Isaac apparently wrote:
> It is documented:
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.)
More information about the Python-list