code: def import_assist(self, starting):
          
          # XXX: breaking if gave up! use generators
          result = []
          for module in self.names:
              for global_name in self.names[module]:
                  if global_name.startswith(starting):
                      result.append((global_name, module))
          return result
docs: Return a list of ``(name, module)`` tuples
  
          This function tries to find modules that have a global name
          that starts with `starting`.