Searched refs:returnitem (Results 1 – 2 of 2) sorted by relevance
140 PyObject *lastelt, *returnitem; in heappop_internal() local160 returnitem = PyList_GET_ITEM(heap, 0); in heappop_internal()163 Py_DECREF(returnitem); in heappop_internal()166 return returnitem; in heappop_internal()188 PyObject *returnitem; in heapreplace_internal() local195 returnitem = PyList_GET_ITEM(heap, 0); in heapreplace_internal()199 Py_DECREF(returnitem); in heapreplace_internal()202 return returnitem; in heapreplace_internal()248 PyObject *returnitem; in _heapq_heappushpop_impl() local272 returnitem = PyList_GET_ITEM(heap, 0); in _heapq_heappushpop_impl()[all …]
139 returnitem = heap[0]142 return returnitem156 returnitem = heap[0] # raises appropriate IndexError if heap is empty159 return returnitem183 returnitem = heap[0]186 return returnitem191 returnitem = heap[0] # raises appropriate IndexError if heap is empty194 return returnitem