#NEWLINE# def computeStatement( self , constraint_collection ) : #NEWLINE# #INDENT# constraint_collection . onExpression ( self . getExpression ( ) ) #NEWLINE# expression = self . getExpression ( ) #NEWLINE# if expression . mayRaiseException ( BaseException ) : #NEWLINE# #INDENT# constraint_collection . onExceptionRaiseExit ( BaseException ) #NEWLINE# #UNINDENT# if expression . willRaiseException ( BaseException ) : #NEWLINE# #INDENT# from . NodeMakingHelpers import makeStatementExpressionOnlyReplacementNode #NEWLINE# result = makeStatementExpressionOnlyReplacementNode ( expression = expression , node = self ) #NEWLINE# return ( result , 'new_raise' , 'Return statement raises in returned expression, removed return.' ) #NEWLINE# #UNINDENT# constraint_collection . onFunctionReturn ( ) #NEWLINE# return ( self , None , None )