code: def support_american_spelling(func):
      """Convert American spelling keyword arguments to British
      (default for hypertunity).
  
      Args:
          func: a Python callable to decorate.
  
      Returns:
          The decorated function which supports American keyword arguments.
      """
  
      # using functools.wraps(func) enables automated documentation generation
      # for more information see: https://github.com/sphinx-doc/sphinx/issues/3783
      @wraps(func)
      def british_spelling_func(*args, **kwargs):
          gb_kwargs = {
              US_GB_SPELLING.get(kw, kw): val
              for kw, val in kwargs.items()
          }
          return func(*args, **gb_kwargs)
  
      return british_spelling_func
  
imports: import queue
  from functools import wraps
label_desc: Use image node_id 1 for calling a global function with example usage: support_american_spelling(func) and returns: british_spelling_func, func