code: def read_yaml_configuration(filename):
      '''Parse configuration in YAML format into a Python dict
  
      :param filename: filename of a file with configuration in YAML format
      :return: unprocessed configuration object
      :rtype: dict
      '''
      with open(filename, 'r') as f:
          config = yaml.load(f.read())
      return confif read_yaml_configuration(filename):
      '''Parse configuration in YAML format into a Python dict
  
      :param filename: filename of a file with configuration in YAML format
      :return: unprocessed configuration object
      :rtype: dict
      '''
      with open(filename, 'r') as f:
          config = yaml.load(f.read())
      return config
docs: Parse configuration in YAML format into a Python dict
  
      :param filename: filename of a file with configuration in YAML format
      :return: unprocessed configuration object
      :rtype: dict