def _set_preview_fullscreen(self, value):
    self._check_camera_open()
    warnings.warn(PiCameraDeprecated('PiCamera.preview_fullscreen is deprecated; use PiCamera.preview.fullscreen instead'))
    if self.preview:
        self.preview.fullscreen = value
    else:
        self._preview_fullscreen = value
def _set_preview_fullscreen(self, value):
    self._check_camera_open()
    warnings.warn(PiCameraDeprecated('PiCamera.preview_fullscreen is deprecated; use PiCamera.preview.fullscreen instead'))
    if self.preview:
        self.preview.fullscreen = value
    else:
        self._preview_fullscreen = value