On Thu, Aug 12, 2010 at 10:36 PM, Steven D'Aprano <st...@remove-this-cybersource.com.au> wrote: > On Thu, 12 Aug 2010 13:20:19 -0700, Paddy wrote: > >> I find myself needing to calculate the difference between two Counters >> or multisets or bags. > > Is this collections.Counter from Python 3.1?
"Changed in version **2.7**: Added Counter and OrderedDict." That is still ahead of the curve though. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list