3 ”ReÏã@s\ddlmZddlmZddlmZerHddlmZmZm Z e ddd�Z Gdd „d e ƒZ d S) é)Úcontextmanager)Ú ExitStack)ÚMYPY_CHECK_RUNNING)ÚIteratorÚContextManagerÚTypeVarÚ_TT)Z covariantcs0eZdZ‡fdd„Zedd„ƒZdd„Z‡ZS)ÚCommandContextMixIncs tt|ƒjƒd|_tƒ|_dS)NF)Úsuperr Ú__init__Ú_in_main_contextrÚ _main_context)Úself)Ú __class__©ú�/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/command_context.pyr szCommandContextMixIn.__init__ccs<|j s t‚d|_z|j� dVWdQRXWdd|_XdS)NTF)r ÚAssertionErrorr )rrrrÚ main_contexts  z CommandContextMixIn.main_contextcCs|js t‚|jj|ƒS)N)r rr Ú enter_context)rÚcontext_providerrrrr s z!CommandContextMixIn.enter_context)Ú__name__Ú __module__Ú __qualname__r rrrÚ __classcell__rr)rrr s  r N) Ú contextlibrÚpip._vendor.contextlib2rÚpip._internal.utils.typingrÚtypingrrrrÚobjectr rrrrÚs