#NEWLINE# def traverse_dot_path( self , traverser ) : #NEWLINE# #INDENT# if traverser . remaining_paths : #NEWLINE# #INDENT# new_value = None #NEWLINE# name = traverser . next_part #NEWLINE# try : #NEWLINE# #INDENT# new_value = self [ int ( name ) ] #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise DotPathNotFound ( 'Invalid index given, must be an integer' ) #NEWLINE# #UNINDENT# except IndexError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# traverser . next ( value = self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# traverser . end ( value = self )