Staging
v0.5.1
https://github.com/python/cpython
Revision 512d2cc64328d06f4ff627497ab444e83e513348 authored by Raymond Hettinger on 25 January 2011, 21:32:39 UTC, committed by Raymond Hettinger on 25 January 2011, 21:32:39 UTC
(Reviewed by Georg Brandl.)

Also made similar changes to deque.reverse() though this wasn't
strictly necessary (the edge case cannot occur with two pointers
moving to meet in the middle).  Making the change in reverse()
was more a matter of future-proofing.
1 parent 5543e81
History
Tip revision: 512d2cc64328d06f4ff627497ab444e83e513348 authored by Raymond Hettinger on 25 January 2011, 21:32:39 UTC
Issue #11004: Repair edge case in deque.count().
Tip revision: 512d2cc

README

back to top