I have a set of values and would like to create list of all subsets containing 2 elements.
For example, a source set ([1,2,3]) has the following 2-element subsets:
([1,2,3])
set([1,2]), set([1,3]), set([2,3])
Is there a way to do this in python?