#NEWLINE# def content( self , trim_left = 0 , trim_top = 0 , cols = None , rows = None , attr = None ) : #NEWLINE# #INDENT# if ( cols is None ) : #NEWLINE# #INDENT# cols = self . size [ 0 ] #NEWLINE# #UNINDENT# if ( rows is None ) : #NEWLINE# #INDENT# rows = self . size [ 1 ] #NEWLINE# #UNINDENT# def_attr = None #NEWLINE# if ( attr and ( None in attr ) ) : #NEWLINE# #INDENT# def_attr = attr [ None ] #NEWLINE# #UNINDENT# line = [ ( def_attr , self . _cs , ( self . _text * cols ) ) ] #NEWLINE# for i in range ( rows ) : #NEWLINE# #INDENT# ( yield line )