3
OÉ6b#  ã               @   s   d Z G dd„ deƒZdS )z5Representation for the MongoDB internal MaxKey type.
c               @   sT   e Zd ZdZdZdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Z	dd„ Z
dd„ Zdd„ ZdS )ÚMaxKeyzvMongoDB internal MaxKey type.

    .. versionchanged:: 2.7
       ``MaxKey`` now implements comparison operators.
    é   c             C   s
   t |tƒS )N)Ú
isinstancer   )ÚselfÚother© r   úK/var/www/html/sandeepIITI/myenv/lib/python3.6/site-packages/bson/max_key.pyÚ__eq__   s    zMaxKey.__eq__c             C   s
   t | jƒS )N)ÚhashÚ_type_marker)r   r   r   r   Ú__hash__   s    zMaxKey.__hash__c             C   s
   | |k S )Nr   )r   r   r   r   r   Ú__ne__"   s    zMaxKey.__ne__c             C   s
   t |tƒS )N)r   r   )r   r   r   r   r   Ú__le__%   s    zMaxKey.__le__c             C   s   dS )NFr   )r   Údummyr   r   r   Ú__lt__(   s    zMaxKey.__lt__c             C   s   dS )NTr   )r   r   r   r   r   Ú__ge__+   s    zMaxKey.__ge__c             C   s   t |tƒ S )N)r   r   )r   r   r   r   r   Ú__gt__.   s    zMaxKey.__gt__c             C   s   dS )NzMaxKey()r   )r   r   r   r   Ú__repr__1   s    zMaxKey.__repr__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r   r   r   r   r   r   r   r   r   r   r      s   r   N)r   Úobjectr   r   r   r   r   Ú<module>   s   