#NEWLINE# def __get__( self , obj , type = None ) : #NEWLINE# #INDENT# if ( self is None ) : #NEWLINE# #INDENT# raise AttributeError ( 'Can only be accessed via an instance.' ) #NEWLINE# #UNINDENT# return obj . __dict__ [ self . field . name ]