Your IP : 3.148.117.240
�
�Q�f_
� �j � d Z d dd�d�Zd dd�d�Zd dd�d�Zd dd�d�Z ddl� eZeZy# e$ r Y �w xY w)
zBisection algorithms.� N��keyc �v � |�t | |||� }nt | ||� |||�� }| j ||� y)a7 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.
A custom key function can be supplied to customize the sort order.
Nr )�bisect_right�insert��a�x�lo�hir s �-/opt/alt/python312/lib64/python3.12/bisect.py�insort_rightr s<