def set_line(self, line, membership):
    'Set whether a given line is a member of the set.'
    self._lines[line] = membership
Set whether a given line is a member of the set.
def set_line(self, line, membership):
    
    self._lines[line] = membership