• Adam Niederer's avatar
    Docs: Add note regarding "reversed" flag in heapq.merge (#300) · b4e1b92a
    Adam Niederer yazdı
    The docs for `heapq.merge` are a little misleading. Iterables passed
    into heapq.merge with the reversed flag enabled must be sorted from
    largest to smallest to achieve the desired sorting effect, but the
    previous paragraph states that they should be sorted from smallest
    to largest.
    b4e1b92a
heapq.rst 13.2 KB