def _set_crop(self, value):
    warnings.warn(PiCameraDeprecated('PiCamera.crop is deprecated; use PiCamera.zoom instead'))
    self.zoom = value
def _set_crop(self, value):
    warnings.warn(PiCameraDeprecated('PiCamera.crop is deprecated; use PiCamera.zoom instead'))
    self.zoom = value