�
�(�g_
� �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 �l/build/snapcraft-certbot-2c33630aaf29c47357e5a1683f659d3d/parts/certbot/install/usr/lib/python3.12/bisect.py�insort_rightr s< |