Edit: heapq.py