clear method

clear

Removes all elements from the collection.

def clear(self):
    ...

See Also