Hacked By AnonymousFox

Current Path : /opt/alt/python311/lib64/python3.11/distutils/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/distutils/__pycache__/version.cpython-311.opt-2.pyc

�

c��f�0��b�	ddlZGd�d��ZGd�de��ZGd�de��ZdS)�Nc�<�eZdZ	d	d�Zd�Zd�Zd�Zd�Zd�Zd�Z	dS)
�VersionNc�8�|r|�|��dSdS�N��parse��self�vstrings  �8/opt/alt/python311/lib64/python3.11/distutils/version.py�__init__zVersion.__init__&�,���	 ��J�J�w������	 �	 �c�@�|jj�dt|���d�S)Nz ('z'))�	__class__�__name__�str�r
s r�__repr__zVersion.__repr__*s"��"�n�5�5�5�s�4�y�y�y�y�A�Arc�N�|�|��}|tur|S|dkS�Nr��_cmp�NotImplemented�r
�other�cs   r�__eq__zVersion.__eq__-�,���I�I�e���������H��A�v�
rc�N�|�|��}|tur|S|dkSrrrs   r�__lt__zVersion.__lt__3�,���I�I�e���������H��1�u�rc�N�|�|��}|tur|S|dkSrrrs   r�__le__zVersion.__le__9rrc�N�|�|��}|tur|S|dkSrrrs   r�__gt__zVersion.__gt__?r"rc�N�|�|��}|tur|S|dkSrrrs   r�__ge__zVersion.__ge__Errr)
r�
__module__�__qualname__r
rrr!r$r&r(�rrrrs�������� � � � �B�B�B�����������������rrc�^�eZdZ	ejdejejz��Zd�Zd�Z	d�Z
dS)�
StrictVersionz)^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$c��|j�|��}|std|z���|�ddddd��\}}}}}|r+t	tt|||g����|_n,t	tt||g����dz|_|r|dt
|��f|_dSd|_dS)	Nzinvalid version number '%s'�����)rr)	�
version_re�match�
ValueError�group�tuple�map�int�version�
prerelease)r
rr5�major�minor�patchr<�prerelease_nums        rrzStrictVersion.parse�s�����%�%�g�.�.���	F��:�W�D�E�E�E�
�K�K��1�a��A�&�&�	:���u�j�.��	B� ��S�5�%��*?�!@�!@�A�A�D�L�L� ��S�5�%�.�!9�!9�:�:�T�A�D�L��	#�)�!�}�c�.�.A�.A�B�D�O�O�O�"�D�O�O�Orc�R�|jddkr6d�tt|jdd�����}n-d�tt|j����}|jr+||jdzt|jd��z}|S)Nr0r�.r/)r;�joinr9rr<r	s  r�__str__zStrictVersion.__str__�s����<��?�a����h�h�s�3���Q�q�S�(9�:�:�;�;�G�G��h�h�s�3���5�5�6�6�G��?�	M����� 2�2�S����9K�5L�5L�L�G��rc��t|t��rt|��}nt|t��stS|j|jkr|j|jkrdSdS|js	|jsdS|jr	|jsdS|js	|jrdS|jr-|jr(|j|jkrdS|j|jkrdSdSdSdS)N���r/r)�
isinstancerr-rr;r<�r
rs  rrzStrictVersion._cmp�s	���e�S�!�!�	"�!�%�(�(�E�E��E�=�1�1�	"�!�!��<�5�=�(�(��|�e�m�+�+��r��q���	+��(8�	+��1��o�	+�e�&6�	+��2��/�
	+�e�&6�
	+��1��o�	+�%�"2�	+���%�"2�2�2��q���5�#3�3�3��r��q�
	+�	+�	+�	+rN)rr)r*�re�compile�VERBOSE�ASCIIr4rrDrr+rrr-r-]sk������!�F���H��J���1�3�3�J�#�#�#�&
�
�
�"+�"+�"+�"+�"+rr-c�\�eZdZ	ejdej��Zdd�Zd�Zd�Z	d�Z
d�ZdS)	�LooseVersionz(\d+ | [a-z]+ | \.)Nc�8�|r|�|��dSdSrrr	s  rr
zLooseVersion.__init__0rrc���||_d�|j�|��D��}t|��D](\}}	t	|��||<�#t
$rY�%wxYw||_dS)Nc�"�g|]}|r|dk�
|��
S)rBr+)�.0�xs  r�
<listcomp>z&LooseVersion.parse.<locals>.<listcomp>:s0��1�1�1�A�!"�1�'(�C�x�x��'/�x�xr)r�component_re�split�	enumerater:r6r;)r
r�
components�i�objs     rrzLooseVersion.parse5s������1�1��!2�!8�!8��!A�!A�1�1�1�
��
�+�+�	�	�F�A�s�
� #�C���
�1�
�
���
�
�
���
����"����s�A�
A!� A!c��|jSr)rrs rrDzLooseVersion.__str__Es
���|�rc�&�dt|��zS)NzLooseVersion ('%s'))rrs rrzLooseVersion.__repr__Is��$�s�4�y�y�0�0rc���t|t��rt|��}nt|t��stS|j|jkrdS|j|jkrdS|j|jkrdSdS)NrrFr/)rGrrNrr;rHs  rrzLooseVersion._cmpMs���e�S�!�!�	"� ��'�'�E�E��E�<�0�0�	"�!�!��<�5�=�(�(��1��<�%�-�'�'��2��<�%�-�'�'��1�(�'rr)rr)r*rIrJrKrUr
rrDrrr+rrrNrN
s��������>�2�:�4�b�j�A�A�L� � � � �

"�
"�
"� ���1�1�1�����rrN)rIrr-rNr+rr�<module>r^s����&
�	�	�	�*�*�*�*�*�*�*�*�|k+�k+�k+�k+�k+�W�k+�k+�k+�`K�K�K�K�K�G�K�K�K�K�Kr

Hacked By AnonymousFox1.0, Coded By AnonymousFox