관리-도구
편집 파일: command_context.cpython-312.pyc
� G��e � �P � d dl mZmZ d dlmZmZmZ edd�� Z G d� d� Zy) � )� ExitStack�contextmanager)�ContextManager� Generator�TypeVar�_TT)� covariantc �R � � e Zd Zd� fd�Zeded fd�� Zdee defd�Z � xZ S )�CommandContextMixIn�returnc �N �� t �| � � d| _ t � | _ y )NF)�super�__init__�_in_main_contextr � _main_context)�self� __class__s ���/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/cli/command_context.pyr zCommandContextMixIn.__init__ s �� � ���� %���&�[��� )NNNc # � K � | j rJ �d| _ | j 5 d �� d d d � d| _ y # 1 sw Y �xY w# d| _ w xY w�w)NTF)r r )r s r �main_contextz CommandContextMixIn.main_context sT � �� ��(�(�(� $��� *��#�#� �� � %*�D�!� � �� %*�D�!�s. �A�A �:�A �A�A�A � A�A�context_providerc �T � | j sJ �| j j |� S )N)r r � enter_context)r r s r r z!CommandContextMixIn.enter_context s&