
    ցjU                    X    S r SSKJr   " S S5      r " S S5      r\" 5       r\" 5       rg)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                  "    \ rS rSrSrSS jrSrg)InfinityType   zFStand-in for the removed ``InfinityType`` used in old comparison keys.c                    g)NInfinity selfs    O/mnt/workspace/venv-train/lib/python3.13/site-packages/packaging/_structures.py__repr__InfinityType.__repr__   s        r	   Nreturnstr__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r	   r   r   r   r      s
    Pr   r   c                  "    \ rS rSrSrSS jrSrg)NegativeInfinityType   zNStand-in for the removed ``NegativeInfinityType`` used in old comparison keys.c                    g)Nz	-Infinityr	   r
   s    r   r   NegativeInfinityType.__repr__   s    r   r	   Nr   r   r	   r   r   r   r      s
    Xr   r   N)r   
__future__r   r   r   r   NegativeInfinityr	   r   r   <module>r!      s5   
 #   >') r   