Home
last modified time | relevance | path

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

/external/python/cpython3/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)
356 for f in (self.module.heappush, self.module.heapreplace,
363 for f in (self.module.heappush, self.module.heapreplace):
371 for f in (self.module.heappush, self.module.heapreplace):
380 for f in (self.module.heappush, self.module.heapreplace):
387 self.module.heappush, self.module.heapreplace,
/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/
Dheapq.py145 def heapreplace(heap, item): function
343 _heapreplace = heapreplace
558 _heapreplace = heapreplace
575 _heapreplace = heapreplace
/external/python/cpython2/Lib/
Dheapq.py156 def heapreplace(heap, item): function
368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration
/external/python/cpython3/Modules/
D_heapqmodule.c198 heapreplace(PyObject *self, PyObject *args) in heapreplace() function
484 {"heapreplace", (PyCFunction)heapreplace,
/external/python/cpython2/Modules/
D_heapqmodule.c183 heapreplace(PyObject *self, PyObject *args) in heapreplace() function
555 {"heapreplace", (PyCFunction)heapreplace,
/external/python/cpython3/Doc/library/
Dheapq.rst67 .. function:: heapreplace(heap, item)
/external/python/cpython2/Doc/library/
Dheapq.rst68 .. function:: heapreplace(heap, item)