nodes: 0, module; 1, function_definition; 2, function_name:load; 3, parameters; 4, block; 5, identifier:path_specs; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, dictionary_splat_pattern; 11, expression_statement; 12, expression_statement; 13, if_statement; 14, if_statement; 15, return_statement; 16, identifier:ac_parser; 17, None; 18, identifier:ac_dict; 19, None; 20, identifier:ac_template; 21, False; 22, identifier:ac_context; 23, None; 24, identifier:options; 25, comment:r"""
      Load single or multiple config files or multiple config files specified in
      given paths pattern or pathlib.Path object represents config files or a
      namedtuple 'anyconfig.globals.IOInfo' object represents some inputs.
  
      :param path_specs:
          A list of file path or a glob pattern such as r'/a/b/\*.json'to list of
          files, file or file-like object or pathlib.Path object represents the
          file or a namedtuple 'anyconfig.globals.IOInfo' object represents some
          inputs to load some data from.
      :param ac_parser: Forced parser type or parser object
      :param ac_dict:
          callable (function or class) to make mapping object will be returned as
          a result or None. If not given or ac_dict is None, default mapping
          object used to store resutls is dict or
          :class:`collections.OrderedDict` if ac_ordered is True and selected
          backend can keep the order of items in mapping objects.
  
      :param ac_template: Assume configuration file may be a template file and
          try to compile it AAR if True
      :param ac_context: A dict presents context to instantiate template
      :param options:
          Optional keyword arguments. See also the description of 'options' in
          :func:`single_load` and :func:`multi_load`
  
      :return: Mapping object or any query result might be primitive objects
      :raises: ValueError, UnknownProcessorTypeError, UnknownFileTypeError
      """; 26, assignment; 27, call; 28, block; 29, not_operator; 30, block; 31, call; 32, identifier:marker; 33, call; 34, attribute; 35, argument_list; 36, return_statement; 37, call; 38, raise_statement; 39, identifier:multi_load; 40, argument_list; 41, attribute; 42, argument_list; 43, attribute; 44, identifier:is_path_like_object; 45, identifier:path_specs; 46, identifier:marker; 47, call; 48, attribute; 49, argument_list; 50, call; 51, identifier:path_specs; 52, keyword_argument; 53, keyword_argument; 54, keyword_argument; 55, keyword_argument; 56, dictionary_splat; 57, identifier:options; 58, identifier:setdefault; 59, string:"ac_marker"; 60, call; 61, identifier:anyconfig; 62, identifier:utils; 63, identifier:single_load; 64, argument_list; 65, attribute; 66, identifier:is_paths; 67, identifier:path_specs; 68, identifier:marker; 69, identifier:ValueError; 70, argument_list; 71, identifier:ac_parser; 72, identifier:ac_parser; 73, identifier:ac_dict; 74, identifier:ac_dict; 75, identifier:ac_template; 76, identifier:ac_template; 77, identifier:ac_context; 78, identifier:ac_context; 79, identifier:options; 80, attribute; 81, argument_list; 82, identifier:path_specs; 83, keyword_argument; 84, keyword_argument; 85, keyword_argument; 86, keyword_argument; 87, dictionary_splat; 88, identifier:anyconfig; 89, identifier:utils; 90, binary_operator:"Possible invalid input %r" % path_specs; 91, identifier:options; 92, identifier:get; 93, string:"marker"; 94, string; 95, identifier:ac_parser; 96, identifier:ac_parser; 97, identifier:ac_dict; 98, identifier:ac_dict; 99, identifier:ac_template; 100, identifier:ac_template; 101, identifier:ac_context; 102, identifier:ac_context; 103, identifier:options; 104, string:"Possible invalid input %r"; 105, identifier:path_specs; 106, string_content:*
code: def load(path_specs, ac_parser=None, ac_dict=None, ac_template=False,
           ac_context=None, **options):
      r"""
      Load single or multiple config files or multiple config files specified in
      given paths pattern or pathlib.Path object represents config files or a
      namedtuple 'anyconfig.globals.IOInfo' object represents some inputs.
  
      :param path_specs:
          A list of file path or a glob pattern such as r'/a/b/\*.json'to list of
          files, file or file-like object or pathlib.Path object represents the
          file or a namedtuple 'anyconfig.globals.IOInfo' object represents some
          inputs to load some data from.
      :param ac_parser: Forced parser type or parser object
      :param ac_dict:
          callable (function or class) to make mapping object will be returned as
          a result or None. If not given or ac_dict is None, default mapping
          object used to store resutls is dict or
          :class:`collections.OrderedDict` if ac_ordered is True and selected
          backend can keep the order of items in mapping objects.
  
      :param ac_template: Assume configuration file may be a template file and
          try to compile it AAR if True
      :param ac_context: A dict presents context to instantiate template
      :param options:
          Optional keyword arguments. See also the description of 'options' in
          :func:`single_load` and :func:`multi_load`
  
      :return: Mapping object or any query result might be primitive objects
      :raises: ValueError, UnknownProcessorTypeError, UnknownFileTypeError
      """
      marker = options.setdefault("ac_marker", options.get("marker", '*'))
  
      if anyconfig.utils.is_path_like_object(path_specs, marker):
          return single_load(path_specs, ac_parser=ac_parser, ac_dict=ac_dict,
                             ac_template=ac_template, ac_context=ac_context,
                             **options)
  
      if not anyconfig.utils.is_paths(path_specs, marker):
          raise ValueError("Possible invalid input %r" % path_specs)
  
      return multi_load(path_specs, ac_parser=ac_parser, ac_dict=ac_dict,
                        ac_template=ac_template, ac_context=ac_context,
                        **options)