def get(self, n):
        ''' Block until self.n >= n; return whatever the n-th call returned [assuming self.keep_history].
        '''
        while self.n < n:
            time.sleep(self.nap_time)
        return self.return_values.get(n, None)
 Block until self.n >= n; return whatever the n-th call returned [assuming self.keep_history].
        
recipes/Python/496894_EventQueue_class_queue/recipe-496894.py