#NEWLINE# @ classmethod #NEWLINE# def _rev_lookup_type( cls , targ_cls ) : #NEWLINE# #INDENT# if ( cls . _REV_TYPES is None ) : #NEWLINE# #INDENT# rev = dict ( ( ( v , k ) for ( k , v ) in cls . _TYPES . items ( ) ) ) #NEWLINE# cls . _REV_TYPES = rev #NEWLINE# #UNINDENT# return cls . _REV_TYPES [ targ_cls ]