Commit a3ecfb2
raymond.hettinger
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.
git-svn-id: http://svn.python.org/projects/python/trunk@60469 6015fed2-1504-0410-9fe1-9d1591cc47711 parent 5e1cfe2 commit a3ecfb2
1 file changed
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 269 | | |
280 | 270 | | |
281 | 271 | | |
| |||
296 | 286 | | |
297 | 287 | | |
298 | 288 | | |
299 | | - | |
| 289 | + | |
| 290 | + | |
300 | 291 | | |
301 | | - | |
302 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
303 | 296 | | |
304 | 297 | | |
305 | 298 | | |
| |||
0 commit comments