#NEWLINE# def __get__( self , obj , cls ) : #NEWLINE# #INDENT# if ( obj is None ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# if ( self . _getter ( obj ) in self . _allowed ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return obj . __dict__ [ self ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise AttributeError ( ) #NEWLINE# #UNINDENT# #UNINDENT# raise WrongState ( self , obj )