SIGN IN SIGN UP

Simplify heapreplace() -- there's no need for an explicit test for

empty heap, since heap[0] raises the appropriate IndexError already.
G
Guido van Rossum committed
3c8dd0c6e783b2a07017d0fdf7f60232603ed407
Parent: b286591