#NEWLINE# def __exit__( self , type , value , traceback ) : #NEWLINE# #INDENT# end_time = time . time ( ) #NEWLINE# self . _statistic += 1 #NEWLINE# self . _statistic . update_avg ( ( end_time - self . _start_time ) )