summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2013-07-16 02:09:27 (GMT)
committerNed Deily <nad@acm.org>2013-07-16 02:09:27 (GMT)
commiteaaedcdd8952ae78d50818ada2ae033adc5d7f86 (patch)
treed5ffe86ba861a38cbc656330de532271a87418e2
parent78e2c985ac4b43fc0c0595197d7d255358930fda (diff)
parent676d7aa905864157de630e5360291ccf7e6e997a (diff)
downloadcpython-eaaedcdd8952ae78d50818ada2ae033adc5d7f86.zip
cpython-eaaedcdd8952ae78d50818ada2ae033adc5d7f86.tar.gz
cpython-eaaedcdd8952ae78d50818ada2ae033adc5d7f86.tar.bz2
Closes #18471: Fix typo in heapq documentation (reported by François Pinard).
-rw-r--r--Doc/library/heapq.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst
index 768dfdc..4f1a682 100644
--- a/Doc/library/heapq.rst
+++ b/Doc/library/heapq.rst
@@ -246,7 +246,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 :-).