Home
last modified time | relevance | path

Searched refs:lastelt (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_heapqmodule.c148 PyObject *lastelt, *returnitem; in heappop() local
163 lastelt = PyList_GET_ITEM(heap, n-1) ; in heappop()
164 Py_INCREF(lastelt); in heappop()
169 return lastelt; in heappop()
171 PyList_SET_ITEM(heap, 0, lastelt); in heappop()
/external/python/cpython2/Lib/
Dheapq.py147 lastelt = heap.pop() # raises appropriate IndexError if heap is empty
150 heap[0] = lastelt
153 returnitem = lastelt