Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-39.pyc
Ðазад
a "�h� � @ sT d dl mZ d dlmZmZmZmZ ddlmZm Z m Z G dd� dee ef �ZdS )� )�annotations)� Collection�Generic�Iterable�Iterator� )�CT�RT�RequirementInformationc @ sN e Zd ZdZddddd�dd�Zd d �dd�Zd d �dd�Zdd �dd�ZdS )� CriterionaQ Representation of possible resolution results of a package. This holds three attributes: * `information` is a collection of `RequirementInformation` pairs. Each pair is a requirement contributing to this criterion, and the candidate that provides the requirement. * `incompatibilities` is a collection of all known not-to-work candidates to exclude from consideration. * `candidates` is a collection containing all possible candidates deducted from the union of contributing requirements and known incompatibilities. It should never be empty, except when the criterion is an attribute of a raised `RequirementsConflicted` (in which case it is always empty). .. note:: This class is intended to be externally immutable. **Do not** mutate any of its attribute containers. zIterable[CT]z*Collection[RequirementInformation[RT, CT]]zCollection[CT]�None)� candidates�information�incompatibilities�returnc C s || _ || _|| _d S �N)r r r )�selfr r r � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py�__init__ s zCriterion.__init__�str)r c C s"