Lines Matching full:insert
4 """Insert item x in list a, and keep it sorted assuming a is sorted.
6 If x is already in a, insert it to the right of the rightmost x.
20 a.insert(lo, x)
25 """Return the index where to insert item x in list a, assuming a is sorted.
28 a[i:] have e > x. So if x already appears in the list, a.insert(x) will
29 insert just after the rightmost x already there.
48 """Insert item x in list a, and keep it sorted assuming a is sorted.
50 If x is already in a, insert it to the left of the leftmost x.
64 a.insert(lo, x)
68 """Return the index where to insert item x in list a, assuming a is sorted.
71 a[i:] have e >= x. So if x already appears in the list, a.insert(x) will
72 insert just before the leftmost x already there.