def METHOD_NAME(heap, item):
    assert_heap_type(heap)
    assert_item_type_consistent_with_heap_type(heap, item)
    def hq_heappush_impl(heap, item):
        heap.append(item)
        _siftdown(heap, 0, len(heap) - 1)
    return hq_heappush_impl