(self, k)
Return attribute.
Return attribute.
Return attribute .
def __getattr__(self, k):
        "Return attribute."
        try:
            return self[k]
        except KeyError:
            raise AttributeError(k)
def __getattr__ ( self , k ) : try : return self [ k ] except KeyError : raise AttributeError ( k )