def go_to_index(self, index):
        """
        Create a new :class:`.CompletionState` object with the new index.
        """
        return CompletionState(self.original_document, self.current_completions, complete_index=index)
def go_to_index ( self , index ) : return CompletionState ( self . original_document , self . current_completions , complete_index = index )
Create a new :class:`.CompletionState` object with the new index.