code: def bsp_new_with_size(x: int, y: int, w: int, h: int) -> tcod.bsp.BSP:
      
      return Bsp(x, y, w, h)
docs: Create a new BSP instance with the given rectangle.
  
      Args:
          x (int): Rectangle left coordinate.
          y (int): Rectangle top coordinate.
          w (int): Rectangle width.
          h (int): Rectangle height.
  
      Returns:
          BSP: A new BSP instance.
  
      .. deprecated:: 2.0
         Call the :any:`BSP` class instead.