clear method

clear()

Removes all items from the set.

def clear(self):
    ...

See Also