a Re@sBddlmZmZddlmZmZmZedddZGdddZdS) ) ExitStackcontextmanager)ContextManagerIteratorTypeVar_TT) covariantcsLeZdZddfdd ZeeddddZeeeddd Z Z S) CommandContextMixInN)returncstd|_t|_dS)NF)super__init___in_main_contextr _main_contextself __class__/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/cli/command_context.pyr s zCommandContextMixIn.__init__ccsT|jr Jd|_z6|jdVWdn1s40YWd|_nd|_0dS)NTF)r rrrrr main_context s  &z CommandContextMixIn.main_context)context_providerr cCs|js J|j|S)N)r r enter_context)rrrrrrs z!CommandContextMixIn.enter_context) __name__ __module__ __qualname__r rrrrrr __classcell__rrrrr s r N) contextlibrrtypingrrrrr rrrrs