Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eaaedcd

Browse files
committed
Closes #18471: Fix typo in heapq documentation (reported by François Pinard).
2 parents 78e2c98 + 676d7aa commit eaaedcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/heapq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ A nice feature of this sort is that you can efficiently insert new items while
246246
the sort is going on, provided that the inserted items are not "better" than the
247247
last 0'th element you extracted. This is especially useful in simulation
248248
contexts, where the tree holds all incoming events, and the "win" condition
249-
means the smallest scheduled time. When an event schedule other events for
249+
means the smallest scheduled time. When an event schedules other events for
250250
execution, they are scheduled into the future, so they can easily go into the
251251
heap. So, a heap is a good structure for implementing schedulers (this is what
252252
I used for my MIDI sequencer :-).

0 commit comments

Comments
 (0)