Closed larsmans closed 10 years ago
It would be nice to have methods appendleft, extendleft and rotate to make blist a drop-in replacement for collections.deque as well as list.
appendleft
extendleft
rotate
blist
collections.deque
list
I think the value of keeping blist's interface identical to list is greater than the value of being able to replace usages of collection.deque.
It would be nice to have methods
appendleft
,extendleft
androtate
to makeblist
a drop-in replacement forcollections.deque
as well aslist
.