commit | e67420d72e26d976af2c8cd8603f2dfe158b6d24 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jan 31 01:38:15 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jan 31 01:38:15 2008 +0000 |
tree | 00709b01f876ef8d1ffe72bfe32acfc9f1c3d913 | |
parent | cba36bbe65c5df5d2a16d7780beceb2faefb6c75 [diff] |
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.