<bearophileHUGS <at> lycos.com> writes: > > collections.Counter and collections.OrderedDict: very nice and useful. > Is the order inside OrderedDict kept with a double linked list of the > items? There's a doubly-linked list containing the values. Another dictionary maps keys to the list.