Re: Help Understanding weakref (lazyloader)

2008-09-03 Thread Ripter
On Sep 3, 10:46 pm, Ripter <[EMAIL PROTECTED]> wrote: > I found this script > athttp://www.pygame.org/wiki/LazyImageLoading?parent=CookBook > And I can't quite figure out how it works. I was wondering if someone > could clarify it for me. > The Code is: > > import pygame > import weakref > > class

Help Understanding weakref (lazyloader)

2008-09-03 Thread Ripter
I found this script at http://www.pygame.org/wiki/LazyImageLoading?parent=CookBook And I can't quite figure out how it works. I was wondering if someone could clarify it for me. The Code is: import pygame import weakref class ResourceController(object): def __init__(self, loader): se