관리-도구
편집 파일: _version_info.cpython-311.pyc
� Q�DgI � � � d dl mZ ddlmZ ddlmZmZ e edddd�� � G d� d � � � � � � Zd S )� )�total_ordering� )�astuple)�attrib�attrsFT)�eq�order�slots�frozenc � � e Zd ZdZ ee�� � Z ee�� � Z ee�� � Z ee �� � Z ed� � � Zd� Z d� Zd� ZdS )�VersionInfoa� A version object that can be compared to tuple of length 1--4: >>> attr.VersionInfo(19, 1, 0, "final") <= (19, 2) True >>> attr.VersionInfo(19, 1, 0, "final") < (19, 1, 1) True >>> vi = attr.VersionInfo(19, 2, 0, "final") >>> vi < (19, 1, 1) False >>> vi < (19,) False >>> vi == (19, 2,) True >>> vi == (19, 2, 1) False .. versionadded:: 19.2 )�typec � � |� d� � }t |� � dk r|� d� � | t |d � � t |d � � t |d � � |d �� � S )z6 Parse *s* and return a _VersionInfo. �.� �finalr r � )�year�minor�micro�releaselevel)�split�len�append�int)�cls�s�vs �r/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/attr/_version_info.py�_from_version_stringz VersionInfo._from_version_string&