#NEWLINE# def wrapStringRep( self , stringRep ) : #NEWLINE# #INDENT# sRep = '\n' . join ( ( ( [ '   a b c d e f g h   ' , ( ' ' * 21 ) ] + [ ( '%d  %s  %d' % ( ( 8 - r ) , s . strip ( ) , ( 8 - r ) ) ) for ( r , s ) in enumerate ( stringRep . split ( '\n' ) ) ] ) + [ ( ' ' * 21 ) , '   a b c d e f g h   ' ] ) ) . rstrip ( ) #NEWLINE# return self