#NEWLINE# def as_tr( self ) : #NEWLINE# #INDENT# cells = '' . join ( ( d . as_td ( ) for d in self . data ) ) #NEWLINE# return ( '<tr id="row%s" class="row %s">%s</tr>' % ( self . row_num , odd_even ( d . row_num ) , cells ) )