Inklings: a tumblelog

Iterator merge in Python

One of the most elegant bits of code I’ve seen in a while. Go read Ned’s explaination while you’re at it, but I didn’t fully appreciate it until I fired up IDLE and started playing with it.