

def __reduce__(self):
    if (self.default_factory is None):
        args = tuple()
    else:
        args = (self.default_factory,)
    return (type(self), args, None, None, self.items())

dataset/ETHPy150Open packages/psutil/psutil/_compat.py defaultdict.__reduce__/original