
    )i1                     R    S SK Jr  S SKJrJrJr  S SKJr  \" SSS9r " S S5      r	g	)
    )	Generator)AbstractContextManager	ExitStackcontextmanager)TypeVar_TT)	covariantc                   b   ^  \ rS rSrS	U 4S jjr\S\S   4S j5       rS\\	   S\	4S jr
SrU =r$ )
CommandContextMixIn   returnc                 N   > [         TU ]  5         SU l        [        5       U l        g )NF)super__init___in_main_contextr   _main_context)self	__class__s    a/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/pip/_internal/cli/command_context.pyr   CommandContextMixIn.__init__	   s      %&[    )NNNc              #      #    U R                   (       a   eSU l          U R                     S v   S S S 5        SU l         g ! , (       d  f       N= f! SU l         f = f7f)NTFr   r   )r   s    r   main_context CommandContextMixIn.main_context   sO     (((( $	*## $ %*D! $# %*D!s/   AA ?A A
A	A 	AAcontext_providerc                 ^    U R                   (       d   eU R                  R                  U5      $ )N)r   r   enter_context)r   r   s     r   r   !CommandContextMixIn.enter_context   s)    $$$$!!//0@AAr   r   )r   N)__name__
__module____qualname____firstlineno__r   r   r   r   r   r   r   __static_attributes____classcell__)r   s   @r   r   r      sK    )
 *i(89 * *B.DR.H BR B Br   r   N)
collections.abcr   
contextlibr   r   r   typingr   r   r    r   r   <module>r*      s)    % H H TT"B Br   