관리-도구
편집 파일: candidate.cpython-37.pyc
B ��Re� � @ sT d dl mZ d dlmZ d dlmZ er@d dl mZ d dlm Z G dd� de�Z dS ) � )�parse)�KeyBasedCompareMixin)�MYPY_CHECK_RUNNING)�_BaseVersion)�Linkc s: e Zd ZdZdddgZ� fdd�Zdd� Zd d � Z� ZS )�InstallationCandidatez9Represents a potential "candidate" for installation. �name�version�linkc s: || _ t|�| _|| _tt| �j| j | j| jftd� d S )N)�key�defining_class)r � parse_versionr r �superr �__init__)�selfr r r )� __class__� ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/models/candidate.pyr s zInstallationCandidate.__init__c C s d� | j| j| j�S )Nz)<InstallationCandidate({!r}, {!r}, {!r})>)�formatr r r )r r r r �__repr__ s zInstallationCandidate.__repr__c C s d� | j| j| j�S )Nz!{!r} candidate (version {} at {}))r r r r )r r r r �__str__"