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