#NEWLINE# def __getattr__( self , name ) : #NEWLINE# #INDENT# 'Answer the named attribute. If the answered value is a dictionary,\n        then create a new ADict (AttributeDict) as wrapper around that dictionary.\n        This allows a chained attribute query. Otherwise answer the plain value.\n\n            >>> td = ADict()\n            >>> td["a"] = 123\n            >>> td.a\n            123\n            >>> td.b = 125\n            >>> td.b\n            125\n            >>> td["b"]\n            125\n            >>> td.c\n            Traceback (most recent call last):\n                ...\n            AttributeError: \'c\'\n        ' #NEWLINE# try : #NEWLINE# #INDENT# return self [ name ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise AttributeError ( repr ( name ) )