• Raymond Hettinger's avatar
    Issue #11004: Repair edge case in deque.count(). · 512d2cc6
    Raymond Hettinger yazdı
    (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.
    512d2cc6
test_deque.py 24 KB