View file File name : bisect.cpython-36.opt-2.pyc Content :3 \# � @ sV ddd�Z e Zddd�ZeZd dd�Zddd �Zyd d lT W n ek rP Y nX dS )� Nc C sd |dk rt d��|d kr t| �}x2||k rR|| d }|| | k rH|}q"|d }q"W | j||� d S )Nr zlo must be non-negative� � )� ValueError�len�insert)�a�x�lo�hi�mid� r �/usr/lib64/python3.6/bisect.py�insort_right s r c C sX |dk rt d��|d kr t| �}x2||k rR|| d }|| | k rH|}q"|d }q"W |S )Nr zlo must be non-negativer r )r r )r r r r r r r r �bisect_right s r c C sd |dk rt d��|d kr t| �}x2||k rR|| d }| | |k rL|d }q"|}q"W | j||� d S )Nr zlo must be non-negativer r )r r r )r r r r r r r r �insort_left/ s r c C sX |dk rt d��|d kr t| �}x2||k rR|| d }| | |k rL|d }q"|}q"W |S )Nr zlo must be non-negativer r )r r )r r r r r r r r �bisect_leftC s r )�*)r N)r N)r N)r N)r Zinsortr Zbisectr r Z_bisect�ImportErrorr r r r �<module> s