When I put pygame.display.get_surface() as default param in func it gives me None, example:
def func(surface = pygame.display.get_surface()):
print(surface)
And I get None.
But if I do this:
def func():
print(pygame.display.get_surface())
It will print me the details of it (for example: Surface(800x600x32 SW))
What is the reason for it to happen?