docs: def __deprecate_defaults(
          self,
          new_func: str,
          bg_blend: Any,
          alignment: Any = ...,
          clear: Any = ...,
      ) -> None:
          """Return the parameters needed to recreate the current default state.
          """
          if not __debug__:
              return
  
          fg = self.default_fg  # type: Any
          bg = self.default_bg  # type: Any
          if bg_blend == tcod.constants.BKGND_NONE:
              bg = None
          if bg_blend == tcod.constants.BKGND_DEFAULT:
              bg_blend = self.default_bg_blend
          else:
              bg_blend = None
          if bg_blend == tcod.constants.BKGND_NONE:
              bg = None
              bg_blend = None
          if bg_blend == tcod.constants.BKGND_SET:
              bg_blend = None
          if alignment is None:
              alignment = self.default_alignment
              if alignment == tcod.constants.LEFT:
                  alignment = None
          else:
              alignment = None
          if clear is not ...:
              fg = None
          params = []
          if clear is True:
              params.append('ch=ord(" ")')
          if clear is False:
              params.append("ch=0")
          if fg is not None:
              params.append("fg=%s" % (fg,))
          if bg is not None:
              params.append("bg=%s" % (bg,))
          if bg_blend is not None:
              params.append("bg_blend=%s" % (self.__BG_BLEND_LOOKUP[bg_blend],))
          if alignment is not None:
              params.append(
                  "alignment=%s" % (self.__ALIGNMENT_LOOKUP[alignment],)
              )
          param_str = ", ".join(params)
          if not param_str:
              param_str = "."
          else:
              param_str = " and add the following parameters:\n%s" % (param_str,)
          warnings.warn(
              "Console functions using default values have been deprecated.\n"
              "Replace this method with `Console.%s`%s" % (new_func, param_str),
              DeprecationWarning,
              stacklevel=3,
          )