mirror of
https://github.com/python/cpython.git
synced 2026-03-15 09:20:50 +00:00
Fix typo
This commit is contained in:
parent
0a9b5189d8
commit
a2156c0b36
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ for a heap, and it presents several implementation challenges:
|
|||
* Tuple comparison breaks for (priority, task) pairs if the priorities are equal
|
||||
and the tasks do not have a default comparison order.
|
||||
|
||||
* If the priority of a task changes, how do you move it to a new posistion in
|
||||
* If the priority of a task changes, how do you move it to a new position in
|
||||
the heap?
|
||||
|
||||
* Or if a pending task needs to be deleted, how do you find it and remove it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue