code: def dict_contents(self, use_dict=None, as_class=dict):
          
          if _debug: PCI._debug("dict_contents use_dict=%r as_class=%r", use_dict, as_class)
  
          return self.pci_contents(use_dict=use_dict, as_class=as_class)
docs: Return the contents of an object as a dict.