#NEWLINE# def get_type( self , type_name ) : #NEWLINE# #INDENT# self . setup ( ) #NEWLINE# if ( type_name not in self . _types_names ) : #NEWLINE# #INDENT# raise KeyError ( ( 'Type %r not found in %r' % ( type_name , self ) ) ) #NEWLINE# #UNINDENT# return self . _types_names [ self ]