[issue39634] Add clarification in documentation for heapq.heapify naming

Raymond Hettinger report at bugs.python.org
Sat Feb 15 01:08:37 EST 2020


Raymond Hettinger <raymond.hettinger at 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 <report at bugs.python.org>
<https://bugs.python.org/issue39634>
_______________________________________


More information about the Python-bugs-list mailing list