(self, fieldname)
read field 'fieldname' out of the object
read field 'fieldname' out of the object
read field fieldname out of the object
def read_attr(self, fieldname):
        """ read field 'fieldname' out of the object """
        result = self._read_dict(fieldname)
        if result is not MISSING:
            return result
        result = self.cls._read_from_class(fieldname)
        if _is_bindable(result):
            return _make_boundmethod(result, self)
        if result is not MISSING:
            return result
        meth = self.cls._read_from_class("__getattr__")
        if meth is not MISSING:
            return meth(self, fieldname)
        raise AttributeError(fieldname)
def read_attr ( self , fieldname ) : result = self . _read_dict ( fieldname ) if result is not MISSING : return result result = self . cls . _read_from_class ( fieldname ) if _is_bindable ( result ) : return _make_boundmethod ( result , self ) if result is not MISSING : return result meth = self . cls . _read_from_class ( "__getattr__" ) if meth is not MISSING : return meth ( self , fieldname ) raise AttributeError ( fieldname )