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

Re: [pygame] Rect() not imported



On Sunday 14 December 2008 18:02:18 Gonzalo Castro wrote:
> Yes, I already know that. That's why I think is strange this code
> works, because I import pygame with "import pygame" and I can use
> Rect() function instead of pygame.Rect() and it works!

No, you have Rect() available because you do this:

from pygame.locals import *

Michael.
-- 
http://yeoldeclue.com/blog
http://www.kamaelia.org/Home