관리-도구
편집 파일: candidate.cpython-36.pyc
3 �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-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/models/candidate.pyr s zInstallationCandidate.__init__c C s dj | j| j| j�S )Nz)<InstallationCandidate({!r}, {!r}, {!r})>)�formatr r r )r r r r �__repr__ s zInstallationCandidate.__repr__c C s dj | j| j| j�S )Nz!{!r} candidate (version {} at {}))r r r r )r r r r �__str__"