From: Ned Deily Date: Tue, 16 Jul 2013 02:07:41 +0000 (-0700) Subject: Issue #18471: Fix typo in heapq documentation (reported by François Pinard). X-Git-Tag: v2.7.6rc1~295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7a285f5287fea77d1af477e83f46c8a44f910f3;p=thirdparty%2FPython%2Fcpython.git Issue #18471: Fix typo in heapq documentation (reported by François Pinard). --- diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst index f0723b7b2753..e8acd6c2e0ae 100644 --- a/Doc/library/heapq.rst +++ b/Doc/library/heapq.rst @@ -260,7 +260,7 @@ A nice feature of this sort is that you can efficiently insert new items while the sort is going on, provided that the inserted items are not "better" than the last 0'th element you extracted. This is especially useful in simulation contexts, where the tree holds all incoming events, and the "win" condition -means the smallest scheduled time. When an event schedule other events for +means the smallest scheduled time. When an event schedules other events for execution, they are scheduled into the future, so they can easily go into the heap. So, a heap is a good structure for implementing schedulers (this is what I used for my MIDI sequencer :-).