parameters: (args, types, arg_names)
docstring: Check the type of each parameter in the list.
  
      Args:
          args (Union[list, tuple]): a list or tuple of any variable.
          types (tuple): tuple of all valid types for arg.
          arg_names (Union[list, tuple of str]): the names of args.
  
      Returns:
          Exception: when the type is not correct, otherwise nothing.
docstring_summary: Check the type of each parameter in the list.
docstring_tokens: Check the type of each parameter in the list .
function: def type_check_list(args, types, arg_names):
      """
      Check the type of each parameter in the list.
  
      Args:
          args (Union[list, tuple]): a list or tuple of any variable.
          types (tuple): tuple of all valid types for arg.
          arg_names (Union[list, tuple of str]): the names of args.
  
      Returns:
          Exception: when the type is not correct, otherwise nothing.
      """
      type_check(args, (list, tuple,), arg_names)
      if len(args) != len(arg_names) and not isinstance(arg_names, str):
          raise ValueError("List of arguments is not the same length as argument_names.")
      if isinstance(arg_names, str):
          arg_names = ["{0}[{1}]".format(arg_names, i) for i in range(len(args))]
      for arg, arg_name in zip(args, arg_names):
          type_check(arg, types, arg_name)
function_tokens: def type_check_list ( args , types , arg_names ) : type_check ( args , ( list , tuple , ) , arg_names ) if len ( args ) != len ( arg_names ) and not isinstance ( arg_names , str ) : raise ValueError ( "List of arguments is not the same length as argument_names." ) if isinstance ( arg_names , str ) : arg_names = [ "{0}[{1}]" . format ( arg_names , i ) for i in range ( len ( args ) ) ] for arg , arg_name in zip ( args , arg_names ) : type_check ( arg , types , arg_name )