code: def list_resources_info(self, query='?*::INSTR'):
          
  
          return dict((resource, self.resource_info(resource))
                      for resource in self.list_resources(query))
docs: Returns a dictionary mapping resource names to resource extended
          information of all connected devices matching query.
  
          For details of the VISA Resource Regular Expression syntax used in query,
          refer to list_resources().
  
          :param query: a VISA Resource Regular Expression used to match devices.
          :return: Mapping of resource name to ResourceInfo
          :rtype: dict[str, :class:`pyvisa.highlevel.ResourceInfo`]