File: //usr/lib/python3/dist-packages/debian/__pycache__/_util.cpython-312.pyc
�
�|�a�4 � �� � d dl Z d dl mZ d dlmZmZmZmZmZmZm Z m
Z
mZmZ e d� Z
d� Z G d� de� ZeZd � Z G d
� dee
� Z G d� d
ee
� Z G d� de� Zy# e$ r dZ
Y �Dw xY w)� N)�
ReferenceType)
�Iterable�Optional�Generic�Dict�List�Iterator�TypeVar�
TYPE_CHECKING�Any�Callable�TFc � � | � | � S d S �N� )�refs �./usr/lib/python3/dist-packages/debian/_util.py�resolve_refr s � ��O�3�5�-��-� c �R � � e Zd ZdZddgZer� fd�Zd� Zd� Zd� Z d� Z
d � Zd
� Z� xZ
S )�_CaseInsensitiveStringzCase insensitive string.
� str_lower�str_origc �H �� t t | � |� d| _ d| _ y )N� )�superr �__init__r r )�self�s� __class__s �r r z_CaseInsensitiveString.__init__ s! �� ��(�$�8��;��D�N��D�Mr c �j � t j | |� }||_ |j � |_ |S r )�str�__new__r �lowerr )�cls�str_r s r r# z_CaseInsensitiveString.__new__$ s- � ��K�K��T�"�� ��
��j�j�l����r c � � | j S r )r �r s r �__str__z_CaseInsensitiveString.__str__, s � ��}�}�r c �, � t | j � S r )�hashr r( s r �__hash__z_CaseInsensitiveString.__hash__0 s � ��D�N�N�#�#r c �\ � | j |j � k( S # t $ r Y yw xY w)NF)r r$ �AttributeError�r �others r �__eq__z_CaseInsensitiveString.__eq__4 s. � � ��>�>�U�[�[�]�2�2��� �� �s � � +�+c � � | |k( S r r r/ s r �__ne__z_CaseInsensitiveString.__ne__; s � ��5�=� � r c � � | j S r )r r( s r r$ z_CaseInsensitiveString.lower? s � ��~�~�r )�__name__�
__module__�__qualname__�__doc__� __slots__r r r# r) r, r1 r3 r$ �
__classcell__)r s @r r r s8 �� ���j�)�I�� ���$��!�r r c �"