code: def _claim(cls, cdata: Any) -> "Tileset":
          
          self = object.__new__(cls)  # type: Tileset
          if cdata == ffi.NULL:
              raise RuntimeError("Tileset initialized with nullptr.")
          self._tileset_p = ffi.gc(cdata, lib.TCOD_tileset_delete)
          return self
docs: Return a new Tileset that owns the provided TCOD_Tileset* object.