code: def region_screenshot(self, filename=None):
          
          # warnings.warn("deprecated, use screenshot().crop(bounds) instead", DeprecationWarning)
          screen = self.__last_screen if self.__keep_screen else self.screenshot()
          if self.bounds:
              screen = screen.crop(self.bounds)
          if filename:
              screen.save(filename)
          return screen
docs: Deprecated
          Take part of the screenshot