o ai@sBddlmZmZddlmZmZmZedddZGdddZdS) ) ExitStackcontextmanager)ContextManagerIteratorTypeVar_TT) covariantcsJeZdZd fdd ZededfddZdeedefdd Z Z S) CommandContextMixInreturnNcstd|_t|_dS)NF)super__init___in_main_contextr _main_contextself __class__/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-5.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/cli/command_context.pyr s  zCommandContextMixIn.__init__ccs`|jrJd|_z"|j dVWdn1swYWd|_dSWd|_dSd|_w)NTF)r rrrrr main_context s  z CommandContextMixIn.main_contextcontext_providercCs|jsJ|j|S)N)r r enter_context)rrrrrrs  z!CommandContextMixIn.enter_context)r N) __name__ __module__ __qualname__r rrrrrr __classcell__rrrrr s  r N) contextlibrrtypingrrrrr rrrrs