| Current Path : /snap/certbot/5603/lib/python3.12/site-packages/packaging/__pycache__/ |
| Current File : //snap/certbot/5603/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc |
�
�jU � �X � d Z ddlmZ G d� d� Z G d� d� Z e� Z e� 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 � � e Zd ZdZdd�Zy)�InfinityTypezFStand-in for the removed ``InfinityType`` used in old comparison keys.c � � y)N�Infinity� ��selfs ��/build/snapcraft-certbot-54d6d23c1eba5f776fc280588daee8b3/parts/certbot/install/lib/python3.12/site-packages/packaging/_structures.py�__repr__zInfinityType.__repr__ s � �� N��return�str��__name__�
__module__�__qualname__�__doc__r r r
r r r s
� �P�r
r c � � e Zd ZdZdd�Zy)�NegativeInfinityTypezNStand-in for the removed ``NegativeInfinityType`` used in old comparison keys.c � � y)Nz -Infinityr r s r r zNegativeInfinityType.__repr__ s � �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