docs: def _from_cdata(cls, cdata: Any, order: str = "C") -> "Console":
          """Return a Console instance which wraps this `TCOD_Console*` object.
          """
          if isinstance(cdata, cls):
              return cdata
          self = object.__new__(cls)  # type: Console
          self.console_c = cdata
          self._init_setup_console_data(order)
          return self