Home
last modified time | relevance | path

Searched refs:heapreplace (Results 1 – 8 of 8) 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/cpython3/Lib/test/
Dtest_heapq.py121 self.module.heapreplace(heap, item)
124 self.assertRaises(TypeError, self.module.heapreplace, None)
125 self.assertRaises(TypeError, self.module.heapreplace, None, None)
126 self.assertRaises(IndexError, self.module.heapreplace, [], None)
382 for f in (self.module.heappush, self.module.heapreplace,
389 for f in (self.module.heappush, self.module.heapreplace):
398 for f in (self.module.heappush, self.module.heapreplace):
405 self.module.heappush, self.module.heapreplace,
/external/python/cpython3/Lib/
Dheapq.py145 def heapreplace(heap, item): function
343 _heapreplace = heapreplace
552 _heapreplace = heapreplace
569 _heapreplace = 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/dateutil/dateutil/
Drrule.py1404 heapq.heapreplace(exlist, exitem)
1411 heapq.heapreplace(rlist, ritem)
/external/python/cpython2/Doc/library/
Dheapq.rst68 .. function:: heapreplace(heap, item)
/external/python/cpython3/Doc/library/
Dheapq.rst67 .. function:: heapreplace(heap, item)