ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/packaging/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/packaging/__pycache__/version.cpython-311.pyc |
� �܋f�? � � � d Z ddlZddlZddlZddlmZmZmZmZm Z m Z ddlmZm Z mZmZ g d�Ze e ef Ze ee eef f Ze eeef Ze ee e ee eef e eef f df f Ze ee edf eeeef Zeeegef Z ej dg d �� � Zd eddfd �Z G d� de� � Z G d� d� � ZdZ e Z! G d� de� � Z"dede ee#ef dee eef fd�Z$ ej% d� � Z&dedee fd�Z'dede edf dee eef dee eef dee eef dee e defd�Z(dS ) zB .. testsetup:: from packaging.version import parse, Version � N)�Any�Callable�Optional�SupportsInt�Tuple�Union� )�Infinity�InfinityType�NegativeInfinity�NegativeInfinityType)�VERSION_PATTERN�parse�Version�InvalidVersion.�_Version)�epoch�release�dev�pre�post�local�version�returnr c � � t | � � S )z�Parse the given version string. >>> parse('1.0.dev1') <Version('1.0.dev1')> :param version: The version string to parse. :raises InvalidVersion: When the version string is not a valid version. )r )r s �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/packaging/version.pyr r + s � � �7���� c � � e Zd ZdZdS )r z�Raised when a version string is not a valid version. >>> Version("invalid") Traceback (most recent call last): ... packaging.version.InvalidVersion: Invalid version: 'invalid' N)�__name__� __module__�__qualname__�__doc__� r r r r 7 s � � � � � �� � � r r c � � e Zd ZU eedf ed<