def _get_crop(self):
    warnings.warn(PiCameraDeprecated('PiCamera.crop is deprecated; use PiCamera.zoom instead'))
    return self.zoom
def _get_crop(self):
    warnings.warn(PiCameraDeprecated('PiCamera.crop is deprecated; use PiCamera.zoom instead'))
    return self.zoom