Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/fabric/__pycache__/context_managers.cpython-39.pyc
Ðазад
a {�hQ � @ sP d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z m Z mZmZ ddl mZ ddlmZ ejdu r|dd lmZ ndd lmZ G dd� de�Ze s�ddlZddlZd d� Zdd� Zedd� �Zedd� �Zedd� �Zdd� Zdd� Zdd� Zdd� Zd2d d!�Zd"d#� Z ed$d%� �Z!d&d'� Z"d(d)� Z#ed3d,d-��Z$d.d/� Z%d0d1� Z&dS )4aJ Context managers for use with the ``with`` statement. .. note:: If you are using multiple directly nested ``with`` statements, it can be convenient to use multiple context expressions in one single with statement. Instead of writing:: with cd('/path/to/app'): with prefix('workon myvenv'): run('./manage.py syncdb') run('./manage.py loaddata myfixture') you can write:: with cd('/path/to/app'), prefix('workon myvenv'): run('./manage.py syncdb') run('./manage.py loaddata myfixture') � )�contextmanagerN)� ThreadHandler)�output�win32�connections�env)�state)�isattyT)�nested)� ExitStackc s e Zd Z� fdd�Z� ZS )r c s&