<s> """<STR_LIT>""" <EOL> class HeaderView ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , header ) : <EOL> self . header = header <EOL> def __call__ ( self , model ) : <EOL> return str ( self . header ) + "<STR_LIT:\n>" + str ( model ) <EOL> class TitledView ( HeaderView ) : <EOL> """<STR_LIT>""" <EOL> FORMAT_STR = ( '<STR_LIT:=>' * <NUM_LIT> ) + "<STR_LIT>" + ( '<STR_LIT:=>' * <NUM_LIT> ) <EOL> def __init__ ( self , title ) : <EOL> super ( TitledView , self ) . __init__ ( self . FORMAT_STR . format ( title ) ) </s>
