#NEWLINE# def _callfinalizers( self , colitem ) : #NEWLINE# #INDENT# finalizers = self . _finalizers . pop ( colitem , None ) #NEWLINE# exc = None #NEWLINE# while finalizers : #NEWLINE# #INDENT# fin = finalizers . pop ( ) #NEWLINE# try : #NEWLINE# #INDENT# fin ( ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# if ( exc is None ) : #NEWLINE# #INDENT# exc = sys . exc_info ( ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if exc : #NEWLINE# #INDENT# py . builtin . _reraise ( * exc )