It's useful for working with permutations. E.g,
[f(a, b) for a in some_list for b in some_list]
or even [f(a, b) for a in some_list for b in some_list if a is not b]