Home
last modified time | relevance | path

Searched refs:insort_right (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_bisect.py146 self.assertRaises(ValueError, mod.insort_right, [1, 2, 3], 5, -1, 3),
174 mod.insort_right(data, x, x - 50, x + 50)
221 self.module.insort_right(a=data, x=25, lo=1, hi=3)
244 f = self.module.insort_right
249 self.assertEqual(self.module.insort, self.module.insort_right)
259 self.module.insort_right(lst, 5)
291 self.module.insort_left, self.module.insort_right):
296 self.module.insort_left, self.module.insort_right):
301 self.module.insort_left, self.module.insort_right):
307 self.module.insort_left, self.module.insort_right):
[all …]
/external/python/cpython3/Lib/test/
Dtest_bisect.py127 self.assertRaises(ValueError, mod.insort_right, [1, 2, 3], 5, -1, 3)
152 mod.insort_right(data, x, x - 50, x + 50)
199 self.module.insort_right(a=data, x=25, lo=1, hi=3)
254 mod.insort_right(target, x, key=keyfunc)
277 f = self.module.insort_right
282 self.assertEqual(self.module.insort, self.module.insort_right)
292 self.module.insort_right(lst, 5)
326 self.module.insort_left, self.module.insort_right):
331 self.module.insort_left, self.module.insort_right):
336 self.module.insort_left, self.module.insort_right):
[all …]
/external/python/cpython2/Lib/
Dbisect.py3 def insort_right(a, x, lo=0, hi=None): function
22 insort = insort_right # backward compatibility
/external/python/cpython2/Modules/
D_bisectmodule.c75 insort_right(PyObject *self, PyObject *args, PyObject *kw) in insort_right() function
223 {"insort_right", (PyCFunction)insort_right,
225 {"insort", (PyCFunction)insort_right,
/external/python/cpython3/Lib/
Dbisect.py4 def insort_right(a, x, lo=0, hi=None, *, key=None): function
110 insort = insort_right
/external/python/cpython2/Doc/library/
Dbisect.rst56 .. function:: insort_right(a, x, lo=0, hi=len(a))
/external/python/cpython3/Doc/library/
Dbisect.rst82 .. function:: insort_right(a, x, lo=0, hi=len(a), *, key=None)
/external/python/cpython2/Misc/
DHISTORY8238 bisect_right and insort_right. The old names bisect and insort
8239 are now aliases for bisect_right and insort_right. XXX_right
/external/python/cpython3/Misc/
DHISTORY25617 bisect_right and insort_right. The old names bisect and insort
25618 are now aliases for bisect_right and insort_right. XXX_right