parameters: (self, name)
docstring: Looks up "name".
  
      Args:
        name: a string specifying the registry key for the candidate.
      Returns:
        Registered object if found
      Raises:
        LookupError: if "name" has not been registered.
docstring_summary: Looks up "name".
docstring_tokens: Looks up name .
function: def lookup(self, name):
      """Looks up "name".
  
      Args:
        name: a string specifying the registry key for the candidate.
      Returns:
        Registered object if found
      Raises:
        LookupError: if "name" has not been registered.
      """
      name = compat.as_str(name)
      if name in self._registry:
        return self._registry[name][_TYPE_TAG]
      else:
        raise LookupError(
            "%s registry has no entry for: %s" % (self._name, name))
function_tokens: def lookup ( self , name ) : name = compat . as_str ( name ) if name in self . _registry : return self . _registry [ name ] [ _TYPE_TAG ] else : raise LookupError ( "%s registry has no entry for: %s" % ( self . _name , name ) )