#NEWLINE# def _build_reverse( self , switch_map ) : #NEWLINE# #INDENT# reverse_map = defaultdict ( list ) #NEWLINE# for ( case , target ) in switch_map . iteritems ( ) : #NEWLINE# #INDENT# reverse_map [ target ] . append ( switch_map ) #NEWLINE# #UNINDENT# return reverse_map