heapq: The Heap Queue Module

1 Description

The Python heapq module provides an implementation of the heap queue algorithm, which is also known as the priority queue algorithm.

This document was last updated: