title: pygame error: TypeError: must be 2-item sequence
body: <p>I wanted to take a look at the pygame module for a university project. I found a quite short tutorial which I followed to create a window for the game.</p>
  
  <p>This is my code:</p>
  
  <pre><code>import sys
  import pygame
  from pygame.locals import *
  
  pygame.init()
  
  screen_width = 800
  screen_height = 600
  screen = pygame.display.set_mode(screen_width,screen_height)
  pygame.display.set_caption("pygame test")
  pygame.mouse.set_visible(True)
  
  done = False
  while not done:
    for event in pygame.event.get():
      if (event.type == KEYUP) or (event.type == KEYDOWN):
        print(event)
      if (event.key == K_ESCAPE):
        done = True
  </code></pre>
  
  <p>If I try to execute the application it fails with the following error:</p>
  
  <pre><code>screen=pygame.display.set_mode(screen_width,screen_height)
  TypeError: must be 2-item sequence, not int
  </code></pre>
  
  <p>As far as I understood the function calls, it should work just as in my example. Further research on the error online did not lead me to any useful result.</p>
  
  <p>I'm running OSX Mavericks, X11 (or better XQuartz) as well as the latest python runtime and all modules needed by pygame are installed.</p>
  
  <p>Maybe you can help me.</p>