Home
last modified time | relevance | path

Searched refs:heapreplace (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_heapq.py103 self.module.heapreplace(heap, item)
106 self.assertRaises(TypeError, self.module.heapreplace, None)
107 self.assertRaises(TypeError, self.module.heapreplace, None, None)
108 self.assertRaises(IndexError, self.module.heapreplace, [], None)
343 for f in (self.module.heappush, self.module.heapreplace,
350 for f in (self.module.heappush, self.module.heapreplace):
359 for f in (self.module.heappush, self.module.heapreplace):
366 self.module.heappush, self.module.heapreplace,
/external/python/cpython2/Lib/
Dheapq.py156 def heapreplace(heap, item): function
368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration
/external/python/cpython2/Modules/
D_heapqmodule.c183 heapreplace(PyObject *self, PyObject *args) in heapreplace() function
555 {"heapreplace", (PyCFunction)heapreplace,
/external/python/cpython2/Doc/library/
Dheapq.rst68 .. function:: heapreplace(heap, item)