Removes all items from the dictionary.
dict. clear()
None
#TODO
>>> d = {'a': 1, 'b': 2} >>> d {'a': 1, 'b': 2} >>> d.clear() >>> d {}