[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] mystery examples in pygame tutorial



On Tue, Jun 16, 2015 at 1:19 PM, tom arnall <kloro2006@xxxxxxxxx> wrote:
    >>> screen = create_graphics_screen()
âSkimming the tutorial and the sections around it, I think it's probably pseudocode. A number of other functions are too. In this case, I think it's probably just:

def create_graphics_screen():
ÂÂÂ return pygame.display.set_mode((800,600))
create_screen = create_graphics_screen

Ianâ