'Fetch the item and do string interpolation.'

def __getitem__(self, key):

    val = dict.__getitem__(self, key)
    if (self.main.interpolation and isinstance(val, basestring)):
        return self._interpolate(key, val)
    return val
