'`d.key -> d[key]`.'

def __getattr__(self, k):

    try:
        return self[k]
    except KeyError:
        raise AttributeError(u'{0!r}    object    has    no    attribute    {1!r}'.format(type(self).__name__, k))
