def __getitem__(self, key):
    ' Get the value of a key, evaluating a lazy key if needed. '
    if (key in self._lazyload):
        value = self._lazyload[key]()
        self._dic[key] = value
        del self._lazyload[key]
    return self._dic[key]
Get the value of a key, evaluating a lazy key if needed.
def __getitem__(self, key):
    '  '
    if (key in self._lazyload):
        value = self._lazyload[key]()
        self._dic[key] = value
        del self._lazyload[key]
    return self._dic[key]