[issue10059] add the method `index` to collections.deque

Simon Liedtke report at bugs.python.org
Sun Oct 10 12:57:32 CEST 2010


Simon Liedtke <liedtke.simon at googlemail.com> 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 -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10059>
_______________________________________


More information about the Python-bugs-list mailing list