def push(self, function, a=(), kw=None):
        ''' queue the call to function, return the number of the call.
        '''
        self.queue.append( (function, a, kw or {}) )
        return self.n + len(self.queue)
 queue the call to function, return the number of the call.
        
recipes/Python/496894_EventQueue_class_queue/recipe-496894.py