def __init__(self, loader): """ @param loader: A class that has a load() that returns two dicts the first being a data dict, the second being a dict of errors. """ UserDict.__init__(self) self._loader = loader
def __init__(self, *args, **kwargs): self.lazy_items = {} UserDict.__init__(self, *args, **kwargs)
def __init__(self, filename): UserDict.__init__(self) self.filename = filename