#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# return '' . join ( ( 'Link(\n' , ( '  %s\n' % indent ( super ( Link , self ) . __repr__ ( ) , 2 ) ) , ( '  %s\n' % indent ( str ( self . inertial ) , 2 ) ) , '  collisions:\n' , ( '    %s' % '\n    ' . join ( [ indent ( str ( l ) , 4 ) for l in self . collisions ] ) ) , '  visuals:\n' , ( '    %s' % '\n    ' . join ( [ indent ( str ( l ) , 4 ) for l in self . visuals ] ) ) , ')' ) )