@property
    def queue(self):
        # Use heapq to sort the queue rather than using 'sorted(self._queue)'.
        # With heapq, two events scheduled at the same time will show in
        # the actual order they would be retrieved.
        events = self._queue[:]
        return map(heapq.heappop, [events]*len(events))
Test tokenization of basic link types.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/sched.py/scheduler.queue--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/test/unit/test_tgrep.py/TestSequenceFunctions.test_tokenize_link_types