PATH:
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
U ʗRe� � @ s2 d Z ddlZddlmZmZmZ G dd� d�ZdS )zUtilities for defining models � N)�Any�Callable�Typec @ s� e Zd ZdZddgZeed dd�dd�Zed�d d �Z ee d�dd �Zee d�dd�Zee d�dd�Z ee d�dd�Zee d�dd�Zeeeege f e d�dd�ZdS )�KeyBasedCompareMixinz7Provides comparison capabilities that is based on a key�_compare_key�_defining_classN)�key�defining_class�returnc C s || _ || _d S �N)r r )�selfr r � r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/models.py�__init__ s zKeyBasedCompareMixin.__init__)r c C s t | j�S r )�hashr )r r r r �__hash__ s zKeyBasedCompareMixin.__hash__)�otherr c C s | � |tj�S r )�_compare�operator�__lt__�r r r r r r s zKeyBasedCompareMixin.__lt__c C s | � |tj�S r )r r �__le__r r r r r s zKeyBasedCompareMixin.__le__c C s | � |tj�S r )r r �__gt__r r r r r s zKeyBasedCompareMixin.__gt__c C s | � |tj�S r )r r �__ge__r r r r r s zKeyBasedCompareMixin.__ge__c C s | � |tj�S r )r r �__eq__r r r r r s zKeyBasedCompareMixin.__eq__)r �methodr c C s t || j�stS || j|j�S r )� isinstancer �NotImplementedr )r r r r r r r # s zKeyBasedCompareMixin._compare)�__name__� __module__�__qualname__�__doc__� __slots__r r r �intr �boolr r r r r r r r r r r r s r )r! r �typingr r r r r r r r �<module> s
[-] appdirs.cpython-38.pyc
[edit]
[-] compat.cpython-38.pyc
[edit]
[-] filetypes.cpython-38.pyc
[edit]
[-] setuptools_build.cpython-38.pyc
[edit]
[-] packaging.cpython-38.pyc
[edit]
[-] subprocess.cpython-38.pyc
[edit]
[-] deprecation.cpython-38.pyc
[edit]
[-] inject_securetransport.cpython-38.pyc
[edit]
[-] models.cpython-38.pyc
[edit]
[-] encoding.cpython-38.pyc
[edit]
[-] temp_dir.cpython-38.pyc
[edit]
[-] wheel.cpython-38.pyc
[edit]
[-] hashes.cpython-38.pyc
[edit]
[-] misc.cpython-38.pyc
[edit]
[-] filesystem.cpython-38.pyc
[edit]
[+]
..
[-] entrypoints.cpython-38.pyc
[edit]
[-] datetime.cpython-38.pyc
[edit]
[-] compatibility_tags.cpython-38.pyc
[edit]
[-] __init__.cpython-38.pyc
[edit]
[-] egg_link.cpython-38.pyc
[edit]
[-] glibc.cpython-38.pyc
[edit]
[-] logging.cpython-38.pyc
[edit]
[-] direct_url_helpers.cpython-38.pyc
[edit]
[-] _log.cpython-38.pyc
[edit]
[-] urls.cpython-38.pyc
[edit]
[-] virtualenv.cpython-38.pyc
[edit]
[-] unpacking.cpython-38.pyc
[edit]
[-] distutils_args.cpython-38.pyc
[edit]