#NEWLINE# def __init__( self , const ) : #NEWLINE# #INDENT# super ( LDC_W , self ) . __init__ ( ) #NEWLINE# if isinstance ( const , str ) : #NEWLINE# #INDENT# self . const = String ( const ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( const , int ) : #NEWLINE# #INDENT# self . const = Integer ( const ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( const , float ) : #NEWLINE# #INDENT# self . const = Float ( const ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( self , Constant ) : #NEWLINE# #INDENT# self . const = const #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( ( 'Invalid type for LDC_W: %s' % type ( const ) ) )