Viewing File: /opt/hc_python/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc

�

`�*jU��X�dZddlmZGd�d�ZGd�d�Ze�Ze�Zy)u�Backward-compatibility shim for unpickling Version objects serialized before
packaging 26.1.

Old pickles reference ``packaging._structures.InfinityType`` and
``packaging._structures.NegativeInfinityType``.  This module provides minimal
stand-in classes so that ``pickle.loads()`` can resolve those references.
The deserialized objects are not used for comparisons — ``Version.__setstate__``
discards the stale ``_key`` cache and recomputes it from the core version fields.
�)�annotationsc��eZdZdZdd�Zy)�InfinityTypezFStand-in for the removed ``InfinityType`` used in old comparison keys.c��y)N�Infinity���selfs �D/opt/hc_python/lib/python3.12/site-packages/packaging/_structures.py�__repr__zInfinityType.__repr__s���N��return�str��__name__�
__module__�__qualname__�__doc__rrr
rrrs
��P�r
rc��eZdZdZdd�Zy)�NegativeInfinityTypezNStand-in for the removed ``NegativeInfinityType`` used in old comparison keys.c��y)Nz	-Infinityrr	s rrzNegativeInfinityType.__repr__s��r
Nrrrr
rrrs
��X�r
rN)r�
__future__rrrr�NegativeInfinityrr
r�<module>rs5��
�#������>��'�)�r
Back to Directory File Manager