Current File : //lib/python3.9/site-packages/packaging/__pycache__/_structures.cpython-39.pyc |
a
?&Nb� � @ sD d dl mZmZmZ G dd� de�Ze� ZG dd� de�Ze� ZdS )� )�absolute_import�division�print_functionc @ sT e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dd� ZdS )�InfinityTypec C s dS )N�Infinity� ��selfr r �9/usr/lib/python3.9/site-packages/packaging/_structures.py�__repr__ s zInfinityType.__repr__c C s t t| ��S �N��hash�reprr r r r
�__hash__ s zInfinityType.__hash__c C s dS �NFr �r �otherr r r
�__lt__ s zInfinityType.__lt__c C s dS r r r r r r
�__le__ s zInfinityType.__le__c C s t || j�S r ��
isinstance� __class__r r r r
�__eq__ s zInfinityType.__eq__c C s t || j� S r r r r r r
�__ne__ s zInfinityType.__ne__c C s dS �NTr r r r r
�__gt__ s zInfinityType.__gt__c C s dS r r r r r r
�__ge__$ s zInfinityType.__ge__c C s t S r )�NegativeInfinityr r r r
�__neg__( s zInfinityType.__neg__N��__name__�
__module__�__qualname__r r r r r r r r r r r r r
r s r c @ sT e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dd� ZdS )�NegativeInfinityTypec C s dS )Nz -Infinityr r r r r
r 1 s zNegativeInfinityType.__repr__c C s t t| ��S r r
r r r r
r 5 s zNegativeInfinityType.__hash__c C s dS r r r r r r
r 9 s zNegativeInfinityType.__lt__c C s dS r r r r r r
r = s zNegativeInfinityType.__le__c C s t || j�S r r r r r r
r A s zNegativeInfinityType.__eq__c C s t || j� S r r r r r r
r E s zNegativeInfinityType.__ne__c C s dS r r r r r r
r I s zNegativeInfinityType.__gt__c C s dS r r r r r r
r M s zNegativeInfinityType.__ge__c C s t S r )r r r r r
r Q s zNegativeInfinityType.__neg__Nr r r r r
r$ 0 s r$ N) Z
__future__r r r �objectr r r$ r r r r r
�<module> s &&