def __sub__(self, other):
        if not isinstance(other, Counter):
            return NotImplemented
        result = Counter()
        for elem, count in self.items():
            newcount = count - other[elem]
            if newcount > 0:
                result[elem] = newcount
        for elem, count in other.items():
            if elem not in self and count < 0:
                result[elem] = 0 - count
        return result
Prints annotated config
dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/counter.py/Counter.__sub__--crossover with--dataset/ETHPy150Open ployground/ploy/ploy/__init__.py/Controller.cmd_annotate