code: def get_exported_entries(self, category, name=None):
          
          for dist in self.get_distributions():
              r = dist.exports
              if category in r:
                  d = r[category]
                  if name is not None:
                      if name in d:
                          yield d[name]
                  else:
                      for v in d.values():
                          yield v
docs: Return all of the exported entries in a particular category.
  
          :param category: The category to search for entries.
          :param name: If specified, only entries with that name are returned.