#NEWLINE# def _print_Integral( self , expr ) : #NEWLINE# #INDENT# def _xab_tostr( xab ) : #NEWLINE# #INDENT# if ( len ( xab ) == 1 ) : #NEWLINE# #INDENT# return self . _print ( xab [ 0 ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . _print ( ( ( xab [ 0 ] , ) + tuple ( xab [ 1 : ] ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# L = ', ' . join ( [ _xab_tostr ( l ) for l in expr . limits ] ) #NEWLINE# return ( 'Integral(%s, %s)' % ( self . _print ( L . function ) , L ) )