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.
Showing
Please register or sign in to comment
answer if the input iterable had a duplicate element (two calls to toggle() reverse each other). Borrow the correct code from sets.py.