Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
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." ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39634> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com