def delete_lines(self, lines):
for k, i in enumerate(lines):<EOL><INDENT>del self[i-k]<EOL><DEDENT>
Delete all lines with given line numbers.

Args:
    lines (list): List of integers corresponding to line numbers to delete