code: def _transform_equals_sign(
      tokens: List[TOKEN], local_dict: DICT, global_dict: DICT
  ):
      """Transforms the equals sign ``=`` to instances of Eq.
  
      This is a helper function for ``convert_equals_signs``.
      Works with expressions containing one equals sign and no
      nesting. Expressions like ``(1=2)=False`` will not work with this
      and should be used with ``convert_equals_signs``.
  
      Examples: 1=2     to Eq(1,2)
                1*2=x   to Eq(1*2, x)
  
      This does not deal with function arguments yet.
  
      """
      result: List[TOKEN] = []
      if (OP, "=") in tokens:
          result.append((NAME, "Eq"))
          result.append((OP, "("))
          for token in tokens:
              if token == (OP, "="):
                  result.append((OP, ","))
                  continue
              result.append(token)
          result.append((OP, ")"))
      else:
          result = tokens
      return result
  
imports: from tokenize import generate_tokens, untokenize, TokenError, NUMBER, STRING, NAME, OP, ENDMARKER, ERRORTOKEN, NEWLINE
  from keyword import iskeyword
  import ast
  import unicodedata
  from io import StringIO
  import builtins
  import types
  from typing import Tuple, Dict, Any, Callable, List, Optional, Union
  from sympy.assumptions.ask import AssumptionKeys
  from sympy.core.basic import Basic
  from sympy.core import Symbol
  from sympy.core.function import Function
  from sympy.utilities.misc import func_name
  from sympy.functions.elementary.miscellaneous import Max, Min
label_desc: Use image node_id 21 for calling a global function with example usage: _transform_equals_sign(tokens, local_dict, global_dict) and returns: result