Files
old-nlp/venv/lib/python3.7/__pycache__/bisect.cpython-37.pyc

46 lines
2.7 KiB
Plaintext
Raw Normal View History

2019-10-20 13:16:49 +02:00
B
<00>x-]<5D> <00>@sZdZd dd<04>Zd dd<06>Zddd<08>Zdd d
<EFBFBD>Zy dd lTWnek
rLYnXeZeZdS)zBisection algorithms.<2E>NcCsd|dkrtd<02><01>|dkr t|<00>}x2||krR||d}|||krH|}q"|d}q"W|<00>||<01>dS)z<>Insert item x in list a, and keep it sorted assuming a is sorted.
If x is already in a, insert it to the right of the rightmost x.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be searched.
rzlo must be non-negativeN<65><00>)<03>
ValueError<EFBFBD>len<65>insert)<05>a<>x<>lo<6C>hi<68>mid<69>r <00>>/home/hamo/projects/misc/adreader/venv/lib/python3.7/bisect.py<70> insort_rights 
   rcCsX|dkrtd<02><01>|dkr t|<00>}x2||krR||d}|||krH|}q"|d}q"W|S)a<>Return the index where to insert item x in list a, assuming a is sorted.
The return value i is such that all e in a[:i] have e <= x, and all e in
a[i:] have e > x. So if x already appears in the list, a.insert(x) will
insert just after the rightmost x already there.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be searched.
rzlo must be non-negativeNrr)rr)rrr r
r r r r <00> bisect_rights 
   rcCsd|dkrtd<02><01>|dkr t|<00>}x2||krR||d}|||krL|d}q"|}q"W|<00>||<01>dS)z<>Insert item x in list a, and keep it sorted assuming a is sorted.
If x is already in a, insert it to the left of the leftmost x.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be searched.
rzlo must be non-negativeNrr)rrr)rrr r
r r r r <00> insort_left+s 
 
rcCsX|dkrtd<02><01>|dkr t|<00>}x2||krR||d}|||krL|d}q"|}q"W|S)a<>Return the index where to insert item x in list a, assuming a is sorted.
The return value i is such that all e in a[:i] have e < x, and all e in
a[i:] have e >= x. So if x already appears in the list, a.insert(x) will
insert just before the leftmost x already there.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be searched.
rzlo must be non-negativeNrr)rr)rrr r
r r r r <00> bisect_left?s 
 
r)<01>*)rN)rN)rN)rN) <09>__doc__rrrr<00>_bisect<63> ImportError<6F>bisectZinsortr r r r <00><module>s