[Python-checkins] cpython (2.7): Issue #18471: Fix typo in heapq documentation (reported by François Pinard).

ned.deily python-checkins at python.org
Tue Jul 16 04:09:55 CEST 2013


http://hg.python.org/cpython/rev/236e6b995300
changeset:   84650:236e6b995300
branch:      2.7
parent:      84636:542a317d4351
user:        Ned Deily <nad at acm.org>
date:        Mon Jul 15 19:07:41 2013 -0700
summary:
  Issue #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
@@ -260,7 +260,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