[Python-checkins] cpython (merge 3.3 -> default): Closes #18471: Fix typo in heapq documentation (reported by François Pinard).
ned.deily
python-checkins at python.org
Tue Jul 16 04:09:57 CEST 2013
http://hg.python.org/cpython/rev/8a078bf3cf14
changeset: 84652:8a078bf3cf14
parent: 84649:9213313b1a6f
parent: 84651:e22dd5fda5a8
user: Ned Deily <nad at acm.org>
date: Mon Jul 15 19:09:27 2013 -0700
summary:
Closes #18471: Fix typo in heapq documentation (reported by François Pinard).
files:
Doc/library/heapq.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst
--- a/Doc/library/heapq.rst
+++ b/Doc/library/heapq.rst
@@ -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 :-).
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list