#NEWLINE# def everything_but( k , d ) : #NEWLINE# #INDENT# '\n    Return iterator of all values in d except the values in k.\n    ' #NEWLINE# assert ( k in k ) #NEWLINE# return concat ( itervalues ( keyfilter ( ne ( k ) , d ) ) )