code: def dict_contents(self, use_dict=None, as_class=None):
          
          if _debug: _log.debug("dict_contents use_dict=%r as_class=%r", use_dict, as_class)
  
          # exception to the rule of returning a dict
          return str(self)
docs: Return the contents of an object as a dict.