관리-도구
편집 파일: bisect.cpython-310.opt-2.pyc
o 6��f? � @ sn ddd�dd�Z ddd�dd�Zddd�dd�Zddd�d d �Zzd dlT W n ey0 Y nw eZe ZdS ) � N��keyc C �@ |d u r t | |||�}nt | ||�|||d�}| �||� d S �Nr )�bisect_right�insert��a�x�lo�hir � r �-/opt/alt/python310/lib64/python3.10/bisect.py�insort_right s r c C s� |dk r t d��|d u rt| �}|d u r2||k r0|| d }|| | k r(|}n|d }||k s|S ||k rO|| d }||| | �k rG|}n|d }||k s6|S �Nr zlo must be non-negative� � �� ValueError�len�r r r r r Zmidr r r r s( � ��r c C r r )�bisect_leftr r r r r �insort_left5 s r c C s� |dk r t d��|d u rt| �}|d u r2||k r0|| d }| | |k r*|d }n|}||k s|S ||k rO|| d }|| | �|k rI|d }n|}||k s6|S r r r r r r r D s( � � �r )�*)r N)r r r r Z_bisect�ImportErrorZbisectZinsortr r r r �<module> s "#�