0000002a 1 ,ˆl–äY>”*e¶…¾ \¸Ó×1hß „dL¸ÿ_‡I|¥ŠèªÂÁ?÷ 8.4. heapq — Heap queue algorithm — Python 2.7.5 documentation

8.4. heapq — Heap queue algorithm¶

New in version 2.3.

Source code: Lib/heapq.py


This module provides an implementation of the heap queue algorithm, also known as the priority queue algorithm.

Heaps are binary trees for whic