InvalidatingDict.clear# InvalidatingDict.clear()[source] Remove all items and invalidate when the dictionary was non-empty.