U ʗRe@sBddlmZmZddlmZmZmZedddZGdddZdS) ) ExitStackcontextmanager)ContextManager GeneratorTypeVar_TT) covariantcsLeZdZddfdd ZeeddddZeeedd d Z Z S) CommandContextMixInN)returncstd|_t|_dS)NF)super__init___in_main_contextr _main_contextself __class__/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/cli/command_context.pyr s zCommandContextMixIn.__init__)NNNc cs:|jr td|_z|j dVW5QRXW5d|_XdS)NTF)r AssertionErrorrrrrr main_context s  z CommandContextMixIn.main_context)context_providerr cCs|js t|j|S)N)r rr enter_context)rrrrrrs z!CommandContextMixIn.enter_context) __name__ __module__ __qualname__r rrrrrr __classcell__rrrrr s r N) contextlibrrtypingrrrrr rrrrs