code: def _print_Permutation(self, expr):
      from sympy.combinatorics.permutations import Permutation, Cycle
      from sympy.utilities.exceptions import sympy_deprecation_warning
  
      perm_cyclic = Permutation.print_cyclic
      if perm_cyclic is not None:
          sympy_deprecation_warning(
              f"""
                  Setting Permutation.print_cyclic is deprecated. Instead use
                  init_printing(perm_cyclic={perm_cyclic}).
                  """,
              deprecated_since_version="1.6",
              active_deprecations_target="deprecated-permutation-print_cyclic",
              stacklevel=7,
          )
      else:
          perm_cyclic = self._settings.get("perm_cyclic", True)
  
      if perm_cyclic:
          if not expr.size:
              return "Permutation()"
          # before taking Cycle notation, see if the last element is
          # a singleton and move it to the head of the string
          s = Cycle(expr)(expr.size - 1).__repr__()[len("Cycle") :]
          last = s.rfind("(")
          if not last == 0 and "," not in s[last:]:
              s = s[last:] + s[:last]
          return "Permutation%s" % s
      else:
          s = expr.support()
          if not s:
              if expr.size < 5:
                  return "Permutation(%s)" % str(expr.array_form)
              return "Permutation([], size=%s)" % expr.size
          trim = (
              str(expr.array_form[: s[-1] + 1])
              + ", size=%s" % expr.size
          )
          use = full = str(expr.array_form)
          if len(trim) < len(full):
              use = trim
          return "Permutation(%s)" % use
  
imports: from __future__ import annotations
  from typing import Any
  from sympy.core.function import AppliedUndef
  from sympy.core.mul import Mul
  from mpmath.libmp import repr_dps, to_str
  from .printer import Printer, print_function
label_desc: Use image node_id 5 for calling the ReprPrinter obj's underlying member method code with example usage: obj._print_Permutation(expr) and returns: unknown, unknown, str, unknown, unknown