(self, size)
Updates the set in-place to contain numbers in the range
        ``[0 - size)`` except numbers that are in this set.
Updates the set in-place to contain numbers in the range
        ``[0 - size)`` except numbers that are in this set.
Updates the set in - place to contain numbers in the range [ 0 - size ) except numbers that are in this set .
def invert_update(self, size):
        """Updates the set in-place to contain numbers in the range
        ``[0 - size)`` except numbers that are in this set.
        """

        for i in xrange(size):
            if i in self:
                self.discard(i)
            else:
                self.add(i)
def invert_update ( self , size ) : for i in xrange ( size ) : if i in self : self . discard ( i ) else : self . add ( i )