code: def warn_extraneous(extraneous):
      """Display a warning for extraneous keyword arguments.
  
      The initializer of each solver class is expected to collect keyword
      arguments that it doesn't understand and warn about them. This function
      prints a warning for each key in the supplied dictionary.
  
      Parameters
      ----------
      extraneous : dict
          Extraneous keyword arguments
      """
      if extraneous:
          warn(
              "The following arguments have no effect for a chosen solver: {}.".format(
                  ", ".join(f"`{x}`" for x in extraneous)
              ),
              stacklevel=3,
          )
  
file_path: scipy/scipy/integrate/_ivp/common.py
imports: from itertools import groupby
  from warnings import warn
  import numpy
  from scipy.sparse import find, coo_matrix
label_desc: Use image node_id 3 for calling a global function with example usage: warn_extraneous(extraneous) without return types