def __call__(self, key, value):
+ def correlate(class_, iterable, key):
+ """Correlate several items into an Accumulator in one step.
+ ``key`` is a function to calculate the key for each item, akin to
+ This is the same as adding each item individually.
"""Accumulate a dict of unique values for each key.