]> granicus.if.org Git - python/commit
Fix defect in __ixor__ which would get the wrong
authorRaymond Hettinger <python@rcn.com>
Thu, 31 Jan 2008 01:38:15 +0000 (01:38 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 31 Jan 2008 01:38:15 +0000 (01:38 +0000)
commite67420d72e26d976af2c8cd8603f2dfe158b6d24
tree00709b01f876ef8d1ffe72bfe32acfc9f1c3d913
parentcba36bbe65c5df5d2a16d7780beceb2faefb6c75
Fix defect in __ixor__ which would get the wrong
answer if the input iterable had a duplicate element
(two calls to toggle() reverse each other).  Borrow
the correct code from sets.py.
Lib/_abcoll.py