def _get_edited_history(self, index):
if index in self._history_edits:<EOL><INDENT>return self._history_edits[index]<EOL><DEDENT>elif index == len(self._history):<EOL><INDENT>return unicode()<EOL><DEDENT>return self._history[index]<EOL>
Retrieves a history item, possibly with temporary edits.