How the event list be sent to EventManager?

steve hxianping at
Thu Oct 26 08:29:01 CEST 2006

The example code from:
def Notify( self, event ):
                if not isinstance(event, TickEvent): Debug( "
Message: " + )
                for listener in self.listeners.keys():
                        #If the weakref has died, remove it and
                        #through the list
                        if listener is None:
                                del self.listeners[ listener ]
                        listener.Notify( event )

I can not figure out how 'event' can has reference to ''?
Anyhow the 'event' has not defined!
The 'event' dynamically get its own type through

More information about the Python-list mailing list