human
Complete the below
def functions_in_with():

    ''''>>> f = functions_in_with()
    enter
    exit <type \'type\'> <type \'MyException\'> <type \'traceback\'>
    outer except
    >>> f(1)[0]
    1
    >>> print(f(1)[1])
    value'
    '''
assistant
#Here is the Python code you requested.
    try:
        with ContextManager('value') as value:
            def f(x):
                return (x, value)
            make = (lambda x: x())
            raise make(MyException)
    except:
        print 'outer    except'
    return f