Source code for jammy.utils.context
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# File : context.py
# Author : Jiayuan Mao
# Email : maojiayuan@gmail.com
# Date : 12/31/16
#
# Distributed under terms of the MIT license.
__all__ = ["EmptyContext"]
[docs]class EmptyContext(object):
def __enter__(self):
return
def __exit__(self, exc_type, exc_val, exc_tb):
return