(self, other)
return (self.time, EVENT_PRIORITIES[self.__class__]) < (other.time, EVENT_PRIORITIES[other.__class__],)
Sort order is based on time, then priority
Sort order is based on time, then priority
Sort order is based on time then priority
def __lt__(self, other):
        """ Sort order is based on time, then priority """
        return (self.time, EVENT_PRIORITIES[self.__class__]) < (other.time, EVENT_PRIORITIES[other.__class__],)
def __lt__ ( self , other ) : return ( self . time , EVENT_PRIORITIES [ self . __class__ ] ) < ( other . time , EVENT_PRIORITIES [ other . __class__ ] , )