class Foo (object):
    
    def __enter__ (self):
        print("Enter")
        return 1, 2, 3
        
    def __exit__ (self, exit, value, exc):
        print("Exit")
        
with Foo() as (a, b, c):
    print(a, b, c)
