U
    3‰dj  ã                   @   s0   d Z G dd„ dƒZeƒ ZG dd„ dƒZeƒ ZdS )zTVendoered from
https://github.com/pypa/packaging/blob/main/packaging/_structures.py
c                   @   s˜   e Zd Zedœdd„Zedœdd„Zeedœdd„Z	eedœd	d
„Z
eedœdd„Zeedœdd„Zeedœdd„Zeedœdd„Zeddœdd„ZdS )ÚInfinityType©Úreturnc                 C   s   dS )NÚInfinity© ©Úselfr   r   úL/tmp/pip-unpacked-wheel-zrfo1fqw/sklearn/externals/_packaging/_structures.pyÚ__repr__   s    zInfinityType.__repr__c                 C   s   t t| ƒƒS ©N©ÚhashÚreprr   r   r   r   Ú__hash__!   s    zInfinityType.__hash__©Úotherr   c                 C   s   dS ©NFr   ©r   r   r   r   r   Ú__lt__$   s    zInfinityType.__lt__c                 C   s   dS r   r   r   r   r   r   Ú__le__'   s    zInfinityType.__le__c                 C   s   t || jƒS r
   ©Ú
isinstanceÚ	__class__r   r   r   r   Ú__eq__*   s    zInfinityType.__eq__c                 C   s   t || jƒ S r
   r   r   r   r   r   Ú__ne__-   s    zInfinityType.__ne__c                 C   s   dS ©NTr   r   r   r   r   Ú__gt__0   s    zInfinityType.__gt__c                 C   s   dS r   r   r   r   r   r   Ú__ge__3   s    zInfinityType.__ge__ÚNegativeInfinityType©r   r   c                 C   s   t S r
   )ÚNegativeInfinityr   r   r   r   Ú__neg__6   s    zInfinityType.__neg__N)Ú__name__Ú
__module__Ú__qualname__Ústrr	   Úintr   ÚobjectÚboolr   r   r   r   r   r   r    r   r   r   r   r      s   r   c                   @   s˜   e Zd Zedœdd„Zedœdd„Zeedœdd„Z	eedœd	d
„Z
eedœdd„Zeedœdd„Zeedœdd„Zeedœdd„Zeedœdd„ZdS )r   r   c                 C   s   dS )Nz	-Infinityr   r   r   r   r   r	   >   s    zNegativeInfinityType.__repr__c                 C   s   t t| ƒƒS r
   r   r   r   r   r   r   A   s    zNegativeInfinityType.__hash__r   c                 C   s   dS r   r   r   r   r   r   r   D   s    zNegativeInfinityType.__lt__c                 C   s   dS r   r   r   r   r   r   r   G   s    zNegativeInfinityType.__le__c                 C   s   t || jƒS r
   r   r   r   r   r   r   J   s    zNegativeInfinityType.__eq__c                 C   s   t || jƒ S r
   r   r   r   r   r   r   M   s    zNegativeInfinityType.__ne__c                 C   s   dS r   r   r   r   r   r   r   P   s    zNegativeInfinityType.__gt__c                 C   s   dS r   r   r   r   r   r   r   S   s    zNegativeInfinityType.__ge__r   c                 C   s   t S r
   )r   r   r   r   r   r    V   s    zNegativeInfinityType.__neg__N)r!   r"   r#   r$   r	   r%   r   r&   r'   r   r   r   r   r   r   r   r    r   r   r   r   r   =   s   r   N)Ú__doc__r   r   r   r   r   r   r   r   Ú<module>   s   