#NEWLINE# def UniqueCombinations2( items2 , n2 ) : #NEWLINE# #INDENT# if ( n2 == 0 ) : #NEWLINE# #INDENT# ( yield [ ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for i2 in xrange ( len ( items2 ) ) : #NEWLINE# #INDENT# for cc2 in UniqueCombinations2 ( items2 [ ( i2 + 1 ) : ] , ( cc2 - 1 ) ) : #NEWLINE# #INDENT# ( yield ( [ items2 [ i2 ] ] + cc2 ) )