| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/alt/python311/lib/python3.11/site-packages/packaging/__pycache__/ |
| Current File : //opt/alt/python311/lib/python3.11/site-packages/packaging/__pycache__/specifiers.cpython-311.pyc |
�
��Cfh� � �� � d Z ddlZddlZddlZddlmZmZmZmZm Z m
Z
mZmZ ddl
mZ ddlmZ eeef Z ede�� � Zeeegef Zd ed
efd�Z G d� d
e� � Z G d� dej �� � Z G d� de� � Z ej d� � Zd ed
ee fd�Zdee d
efd�Zded
efd�Z dee dee d
e
ee ee f fd�Z! G d� de� � Z"dS )z�
.. testsetup::
from packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier
from packaging.version import Version
� N)�Callable�Iterable�Iterator�List�Optional�Tuple�TypeVar�Union� )�canonicalize_version)�Version�UnparsedVersionVar)�bound�version�returnc �N � t | t � � st | � � } | S �N)�
isinstancer
)r s �G/opt/alt/python311/lib/python3.11/site-packages/packaging/specifiers.py�_coerce_versionr s&