Simon Liedtke added the comment:
I see that adding this method to a deque is useless. A list is better for this
kind of operation. I just wrote it for fun and realized that it was implemented
rather slow.
--
resolution: -> rejected
status: open ->
New submission from Simon Liedtke :
I'd like to have the method `index` not only for list, but also for
collections.deque.
Here is my attempt:
http://bitbucket.org/derdon/hodgepodge/src/tip/extended_deque.py
I'm looking forward to see this method implemented in