a
    b½3jU  ã                   @  s<   d Z ddlmZ G dd„ dƒZG dd„ dƒZeƒ Zeƒ ZdS )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                   @  s   e Zd ZdZddœdd„ZdS )ÚInfinityTypezFStand-in for the removed ``InfinityType`` used in old comparison keys.Ústr©Úreturnc                 C  s   dS )NÚInfinity© ©Úselfr   r   úr/www/wwwroot/dpstar/app/297b3aabda72fedb274352021c2dd8b5_venv/lib/python3.9/site-packages/packaging/_structures.pyÚ__repr__   s    zInfinityType.__repr__N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s   r   c                   @  s   e Zd ZdZddœdd„ZdS )ÚNegativeInfinityTypezNStand-in for the removed ``NegativeInfinityType`` used in old comparison keys.r   r   c                 C  s   dS )Nz	-Infinityr   r	   r   r   r   r      s    zNegativeInfinityType.__repr__Nr   r   r   r   r   r      s   r   N)r   Ú
__future__r   r   r   r   ÚNegativeInfinityr   r   r   r   Ú<module>   s
   
