a [f@sBddlmZmZddlmZmZmZedddZGdddZdS) ) ExitStackcontextmanager)ContextManagerIteratorTypeVar_TT) covariantcsLeZdZddfdd ZeeddddZeeeddd Z Z S) CommandContextMixInN)returncstd|_t|_dS)NF)super__init___in_main_contextr _main_contextself __class__E/usr/lib/python3.9/site-packages/pip/_internal/cli/command_context.pyr s zCommandContextMixIn.__init__ccsJd|_z6|jdVWdn1s*0YWd|_nd|_0dS)NTF)r rrrrr main_context s &z CommandContextMixIn.main_context)context_providerr cCs |j|S)N)r enter_context)rrrrrrsz!CommandContextMixIn.enter_context) __name__ __module__ __qualname__r rrrrrr __classcell__rrrrr s r N) contextlibrrtypingrrrrr rrrrs