code: def readResources(self, elem):
          
          try:
              iterator = getattr(elem, 'iter')
          except AttributeError:
              iterator = getattr(elem, 'getiterator')
  
          for include in iterator("include"):
              loc = include.attrib.get("location")
  
              # Apply the convention for naming the Python files generated by
              # pyrcc5.
              if loc and loc.endswith('.qrc'):
                  mname = os.path.basename(loc[:-4] + self._resource_suffix)
                  if mname not in self.resources:
                      self.resources.append(mname)
docs: Read a "resources" tag and add the module to import to the parser's
          list of them.