Searched refs:heappushpop (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_heapq.py | 115 self.module.heappushpop(heap, item) 117 self.assertEqual(self.module.heappushpop([], 'x'), 'x') 121 x = self.module.heappushpop(h, 10) 125 x = self.module.heappushpop(h, 10.0) 131 x = self.module.heappushpop(h, 9) 135 x = self.module.heappushpop(h, 11)
|
/external/python/cpython3/Lib/test/ |
D | test_heapq.py | 115 self.module.heappushpop(heap, item) 117 self.assertEqual(self.module.heappushpop([], 'x'), 'x') 121 x = self.module.heappushpop(h, 10) 125 x = self.module.heappushpop(h, 10.0) 131 x = self.module.heappushpop(h, 9) 135 x = self.module.heappushpop(h, 11)
|
/external/python/cpython2/Lib/ |
D | heapq.py | 172 def heappushpop(heap, item): function 215 _heappushpop = heappushpop
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 214 heappushpop(PyObject *self, PyObject *args) in heappushpop() function 480 {"heappushpop", (PyCFunction)heappushpop,
|
/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 221 heappushpop(PyObject *self, PyObject *args) in heappushpop() function 551 {"heappushpop", (PyCFunction)heappushpop,
|
/external/python/cpython3/Lib/ |
D | heapq.py | 161 def heappushpop(heap, item): function
|
/external/python/cpython2/Doc/library/ |
D | heapq.rst | 55 .. function:: heappushpop(heap, item) 79 desired, consider using :func:`heappushpop` instead. Its push/pop
|
/external/python/cpython3/Doc/library/ |
D | heapq.rst | 55 .. function:: heappushpop(heap, item) 78 desired, consider using :func:`heappushpop` instead. Its push/pop
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 1335 Add heapq.heappushpop().
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 1979 Another new function, ``heappushpop(heap, item)``,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 1983 Another new function, ``heappushpop(heap, item)``,
|