clear method

clear

Removes all items from the collection.

def clear(self):
    ...

See Also