Slicer(list) takes a list as argument. When a Slicer
object is subscribted it returns a sublist of the list.
def __getitem__(self
,index
):
elif type(index
) == slice:
return [self
.list[index
]]
if __name__
== '__main__':
print s
[0:8,8:16,32,56:64]