#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# representation = ( '%s, %s' % ( self . latitude , self . longitude ) ) #NEWLINE# for attribute in ( 'elevation' , 'time' , 'name' , 'description' , 'symbol' , 'type' , 'comment' , 'horizontal_dilution' , 'vertical_dilution' , 'position_dilution' ) : #NEWLINE# #INDENT# value = getattr ( self , attribute ) #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# representation += ( ', %s=%s' % ( attribute , repr ( value ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return ( 'GPXRoutePoint(%s)' % representation )