Mercurial > cpython-lru_cache-weakref
changeset 84651:e22dd5fda5a8 3.3
Issue #18471: Fix typo in heapq documentation (reported by François Pinard).
| author | Ned Deily <nad@acm.org> |
|---|---|
| date | Mon, 15 Jul 2013 19:08:13 -0700 |
| parents | 8fe13940b033 |
| children | 8a078bf3cf14 c3a510b22218 |
| files | Doc/library/heapq.rst |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/heapq.rst Mon Jul 15 14:47:29 2013 -0400 +++ b/Doc/library/heapq.rst Mon Jul 15 19:08:13 2013 -0700 @@ -246,7 +246,7 @@ 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 :-).
