docs: def split_args(args):
      """
      Split a list of argument strings into a dictionary where each key is an
      argument name.
  
      An argument looks like ``force_ssl=True``.
      """
      if not args:
          return {}
  
      # Handle the old comma separated argument format.
      if len(args) == 1 and not REGEXP_ARGS.search(args[0]):
          args = args[0].split(',')
  
      # Separate out the key and value for each argument.
      args_dict = {}
      for arg in args:
          split_arg = arg.split('=', 1)
          value = len(split_arg) > 1 and split_arg[1] or None
          args_dict[split_arg[0]] = value
  
      return args_dict