def append(self, lines):
if isinstance(lines, list):<EOL><INDENT>self._lines = self._lines + lines<EOL><DEDENT>elif isinstance(lines, str):<EOL><INDENT>lines = lines.split('<STR_LIT:\n>')<EOL>self._lines = self._lines + lines<EOL><DEDENT>else:<EOL><INDENT>raise TypeError('<STR_LIT>'.format(type(lines)))<EOL><DEDENT>
Args:
    lines (list): List of line strings to append to the end of the editor