#NEWLINE# def generate_types( self , types ) : #NEWLINE# #INDENT# f = self . _f_gl #NEWLINE# f . write ( '# Types\ntype\n' ) #NEWLINE# for ( ogl , d ) in sorted ( self . TYPE_DICT [ self . spec . NAME ] . items ( ) ) : #NEWLINE# #INDENT# f . write ( '  {}* = {}\n' . format ( d , d ) ) #NEWLINE# #UNINDENT# self . TYPE_DICT [ '__other' ] [ self . spec . NAME ] ( self , f ) #NEWLINE# f . write ( '\n' )