Message362005
Thank you, but I'm going to decline this suggestion.
The docs are pretty clear about what heapify does:
* "To create a heap, use a list initialized to [], or you can transform a populated list into a heap via function heapify()."
* "Transform list x into a heap, in-place, in linear time." |
|
Date |
User |
Action |
Args |
2020-02-15 06:08:37 | rhettinger | set | recipients:
+ rhettinger, steven.daprano, docs@python, hp685 |
2020-02-15 06:08:37 | rhettinger | set | messageid: <1581746917.22.0.47658551411.issue39634@roundup.psfhosted.org> |
2020-02-15 06:08:37 | rhettinger | link | issue39634 messages |
2020-02-15 06:08:37 | rhettinger | create | |
|