%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/dns/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/dns/__pycache__/serial.cpython-312.pyc

�

5��e���dZGd�d�Zy)z&Serial Number Arthimetic from RFC 1982c�`�eZdZddedefd�Zd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zd�Zd�Z
d
�Zd�Zy)�Serial�value�bitsc�,�|d|zz|_||_y)N��rr)�selfrrs   �,/usr/lib/python3/dist-packages/dns/serial.py�__init__zSerial.__init__s���Q��W�_��
���	�c�<�d|j�d|j�d�S)Nzdns.serial.Serial(z, �)r)r	s r
�__repr__zSerial.__repr__s��#�D�J�J�<�r�$�)�)��A�>�>rc���t|t�rt||j�}n/t|t�r|j|jk7rtS|j
|j
k(S�N��
isinstance�intrr�NotImplementedr�r	�others  r
�__eq__z
Serial.__eq__�N���e�S�!��5�$�)�)�,�E��E�6�*�e�j�j�D�I�I�.E�!�!��z�z�U�[�[�(�(rc���t|t�rt||j�}n/t|t�r|j|jk7rtS|j
|j
k7Srrrs  r
�__ne__z
Serial.__ne__rrc���t|t�rt||j�}n/t|t�r|j|jk7rtS|j
|j
kr-|j
|j
z
d|jdz
zkry|j
|j
kDr-|j
|j
z
d|jdz
zkDryy�Nr�TFrrs  r
�__lt__z
Serial.__lt__����e�S�!��5�$�)�)�,�E��E�6�*�e�j�j�D�I�I�.E�!�!��:�:����#����d�j�j�(@�1����UV��CW�(W��
�Z�Z�%�+�+�
%�$�*�*�u�{�{�*B�Q��I�I��M�F
�+
��rc��||k(xs||kSr�rs  r
�__le__z
Serial.__le__*����u�}�,��u��,rc���t|t�rt||j�}n/t|t�r|j|jk7rtS|j
|j
kr-|j
|j
z
d|jdz
zkDry|j
|j
kDr-|j
|j
z
d|jdz
zkryyrrrs  r
�__gt__z
Serial.__gt__-r rc��||k(xs||kDSrr"rs  r
�__ge__z
Serial.__ge__;r$rc�.�|j}t|t�r
|j}nt|t�r|}nt�t|�d|jdz
zdz
kDrt�||z
}|d|jzz}t||j�S�Nrr�rrrr�
ValueError�absr�r	r�v�deltas    r
�__add__zSerial.__add__>����J�J���e�V�$��K�K�E�
��s�
#��E����u�:��t�y�y�1�}�-��1�2���	�U�
��
��4�9�9�����a����#�#rc��|j}t|t�r
|j}nt|t�r|}nt�t|�d|jdz
zdz
kDrt�||z
}|d|jzz}||_|Sr*r+r.s    r
�__iadd__zSerial.__iadd__L�~���J�J���e�V�$��K�K�E�
��s�
#��E����u�:��t�y�y�1�}�-��1�2���	�U�
��
��4�9�9������
��rc�.�|j}t|t�r
|j}nt|t�r|}nt�t|�d|jdz
zdz
kDrt�||z}|d|jzz}t||j�Sr*r+r.s    r
�__sub__zSerial.__sub__[r2rc��|j}t|t�r
|j}nt|t�r|}nt�t|�d|jdz
zdz
kDrt�||z}|d|jzz}||_|Sr*r+r.s    r
�__isub__zSerial.__isub__ir5rN)� )�__name__�
__module__�__qualname__rrrrrrr#r&r(r1r4r7r9r"rr
rrsL���c����?�)�)��-��-�$�
�$�
rrN)�__doc__rr"rr
�<module>r?s��-�p�pr

Zerion Mini Shell 1.0