clear method

clear()

Removes all elements from collection.

def clear(self):
    ...

See Also