parameters: (self, symbol)
return_statement: return self._ConvertFileProtoToFileDescriptor(file_proto)
docstring: Gets the FileDescriptor for the file containing the specified symbol.
  
      Args:
        symbol: The name of the symbol to search for.
  
      Returns:
        A FileDescriptor that contains the specified symbol.
  
      Raises:
        KeyError: if the file can not be found in the pool.
docstring_summary: Gets the FileDescriptor for the file containing the specified symbol.
docstring_tokens: Gets the FileDescriptor for the file containing the specified symbol .
function: def FindFileContainingSymbol(self, symbol):
      """Gets the FileDescriptor for the file containing the specified symbol.
  
      Args:
        symbol: The name of the symbol to search for.
  
      Returns:
        A FileDescriptor that contains the specified symbol.
  
      Raises:
        KeyError: if the file can not be found in the pool.
      """
  
      try:
        file_proto = self._internal_db.FindFileContainingSymbol(symbol)
      except KeyError as error:
        if self._descriptor_db:
          file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
        else:
          raise error
      if not file_proto:
        raise KeyError('Cannot find a file containing %s' % symbol)
      return self._ConvertFileProtoToFileDescriptor(file_proto)
function_tokens: def FindFileContainingSymbol ( self , symbol ) : try : file_proto = self . _internal_db . FindFileContainingSymbol ( symbol ) except KeyError as error : if self . _descriptor_db : file_proto = self . _descriptor_db . FindFileContainingSymbol ( symbol ) else : raise error if not file_proto : raise KeyError ( 'Cannot find a file containing %s' % symbol ) return self . _ConvertFileProtoToFileDescriptor ( file_proto )