def _get_preview_fullscreen(self):
    self._check_camera_open()
    warnings.warn(PiCameraDeprecated('PiCamera.preview_fullscreen is deprecated; use PiCamera.preview.fullscreen instead'))
    if self.preview:
        return self.preview.fullscreen
    else:
        return self._preview_fullscreen
def _get_preview_fullscreen(self):
    self._check_camera_open()
    warnings.warn(PiCameraDeprecated('PiCamera.preview_fullscreen is deprecated; use PiCamera.preview.fullscreen instead'))
    if self.preview:
        return self.preview.fullscreen
    else:
        return self._preview_fullscreen