commit | 512d2cc64328d06f4ff627497ab444e83e513348 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Jan 25 21:32:39 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Jan 25 21:32:39 2011 +0000 |
tree | 6d3599b5f69310a74dba4eb02c79e91899aba4a0 | |
parent | 5543e8135240cfe4f3d1021c1debe752e3cd7309 [diff] |
Issue #11004: Repair edge case in deque.count(). (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.