Searched refs:heapreplace (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_heapq.py | 103 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/ |
D | heapq.py | 156 def heapreplace(heap, item): function 368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration
|
/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 183 heapreplace(PyObject *self, PyObject *args) in heapreplace() function 555 {"heapreplace", (PyCFunction)heapreplace,
|
/external/python/cpython2/Doc/library/ |
D | heapq.rst | 68 .. function:: heapreplace(heap, item)
|