commit | ddd2d70cc63772f6039ffa7e35a04995eb96cf8b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Sep 18 07:40:20 2011 +0200 |
committer | Georg Brandl <georg@python.org> | Sun Sep 18 07:40:20 2011 +0200 |
tree | b5409cd0484d031003f785bc9895647ae8d98df5 | |
parent | 902e8955784698a3b2f2d83f9a349cc8b9f0416c [diff] | |
parent | 1d678f841363d8636cb02510d31e4e4fb9d8815f [diff] |
Merge example fix from 3.2.
diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst index c8634ba..2ab632f 100644 --- a/Doc/library/heapq.rst +++ b/Doc/library/heapq.rst
@@ -191,8 +191,8 @@ def get_top_priority(): while True: priority, count, task = heappop(pq) - del task_finder[task] if count is not INVALID: + del task_finder[task] return task def delete_task(task):