This is especially helpful If you're working with dictionaries that usually include the same data sorts or constructions, by way of example a dictionary of lists. >>> from collections import defaultdict akuiperakuiper 215k3333 gold badges360360 silver badges377377 bronze badges Insert a remark See also: Exactly what does git checkout still