<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_resources_info(self, query='?*::INSTR'):
 """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`] """


        return dict((resource, self.resource_info(resource))
                    for resource in self.list_resources(query))