Esempio n. 1
0
	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
Esempio n. 2
0
	def __init__(self, *args, **kwargs):

		self.lazy_items = {}
		UserDict.__init__(self, *args, **kwargs)
Esempio n. 3
0
	def __init__(self, filename):
		UserDict.__init__(self)
		self.filename = filename
Esempio n. 4
0
	def __init__(self, *args, **kwargs):

		self.lazy_items = {}
		UserDict.__init__(self, *args, **kwargs)