code: def get_star_names(self, modpath):
          
          if modpath not in self.star_names:
              print('Importing %s to resolve import *' % modpath, file=sys.stderr)
              try:
                  module = self.import_module(modpath)
              except ImportError:
                  print('ERROR: Failed to import %s!' % modpath, file=sys.stderr)
                  self.star_names[modpath] = []
              else:
                  self.star_names[modpath] = sorted(getattr(
                      module, '__all__',
                      [name for name in dir(module) if not name.startswith('_')]))
          return self.star_names[modpath]
docs: Returns all the names imported by 'import *' from a given module.