#NEWLINE# def __exit__( self , * exc_info ) : #NEWLINE# #INDENT# ex = self #NEWLINE# for mgr in self . entered : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# if mgr . __exit__ ( * ex ) : #NEWLINE# #INDENT# ex = ( None , None , None ) #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# ex = sys . exc_info ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . entered = None #NEWLINE# if ( ex is not exc_info ) : #NEWLINE# #INDENT# raise ex [ 0 ] ( ex [ 1 ] ) . with_traceback ( ex [ 2 ] )