def remove_line(self, section, line):
try:<EOL><INDENT>s = self._get_section(section, create=False)<EOL><DEDENT>except KeyError:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return s.remove(line)<EOL>
Remove all instances of a line.

        Returns:
            int: the number of lines removed