parameters: (self, fieldname)
docstring: read field 'fieldname' out of the object
docstring_summary: read field 'fieldname' out of the object
docstring_tokens: read field fieldname out of the object
function: 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)
function_tokens: 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 )