slice
An object usually containing a portion of a sequence. A slice is creat
+ed using the subscript notation, [] with
colons between numbers when several are given, such as in variable_nam
+e[1:3:5]. The bracket (subscript) notation
uses slice objects internally.
https://docs.python.org/3/library/functions.html#slice
class slice(stop)
class slice(start, stop, step=1)
Return a slice object representing the set of indices specified by ran
+ge(start, stop, step). The start and step
arguments default to None.
...
something is off (-set ;) with this test suite. Unfortunately I have no Python at hand to test ...
updates
references and citations updated
|