478
479
480def transform_image(image: pygame.Surface, angle: float = 0, zoom: float = 1.0) -> Union[
481 pygame.Surface, pygame.surface.Surface]:482 """Transforms an image with a rotation and/or zoom to give a new image"""
483 return pygame.transform.rotozoom(image, angle, zoom)
484
478
479
480def transform_image(image: pygame.Surface, angle: float = 0, zoom: float = 1.0) -> Union[
481 pygame.Surface, pygame.surface.Surface]:482 """Transforms an image with a rotation and/or zoom to give a new image"""
483 return pygame.transform.rotozoom(image, angle, zoom)
484
Continuation lines should not be indented at the same level as the next logical line. Instead, they should be indented to one more level so as to distinguish them from the next line.