flip(Surface, xbool, ybool) -> Surface
This can flip a Surface either vertically, horizontally, or both.
pygame.transform.flip()
flips creates a new Surface from the source Surface which is flipped. e.g:
my_flipped_image = pygame.transform.flip(my_image, True, False);